node-ecstatic icon indicating copy to clipboard operation
node-ecstatic copied to clipboard

Cannot generate file listing if `404.html` is present in /

Open leesei opened this issue 10 years ago • 0 comments

Found this issue when running ecstatic in test/public. Response is served when the middleware in autoIndex switch found 404.html while trying to serve index.html, so showDir() is never called.

Because of this issue, I cannot add test case for showDir() (so #86 was not covered in the test).

leesei avatar Oct 14 '13 14:10 leesei