Skip to content

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

Description

@leesei

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).

No activity

Activity on this issue will appear here.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions