• Peer Beckmann's avatar
    Remove the eager check in the browse middleware (#1144) · bb7787d2
    Peer Beckmann authored
    * 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.
    bb7787d2
setup_test.go 2.42 KB