mirror of
https://github.com/caddyserver/caddy.git
synced 2024-12-01 21:24:23 +08:00
bb7787d2ee
* Remove the eager check in the browse middleware, whether the root directory exists. Caddy will start and throw a 404-error until the directory will be created. * Add the complimentary test. - Tests the startup of the browse middleware if the site root is inexistent and browse is pointing to the site root. * Some minor stylistic tweaks. |
||
---|---|---|
.. | ||
testdata | ||
browse_test.go | ||
browse.go | ||
setup_test.go | ||
setup.go |