Similar to https://github.com/caddyserver/caddy/issues/6363 after update caddy doesn't start with error ``` 2024/06/04 10:49:48.000 INFO using config from file {"file": ".serve/Caddyfile.preview"} Error: ambiguous config file format; please specify adapter (use --adapter) ``` ```sh $ caddy version v2.8.4 h1:q3pe0wpBj1OcHFZ3n/1nl4V4bxBrYoSoab7rL9BMYNk= ``` Note that I use config from subfolder `.serve` Is it possible that `filepath.Base` function does not handle that case correctly? https://github.com/omalk98/caddy/blob/3f55efcfde09bc3d0a56597b1280dd2289805f69/cmd/main.go#L150