gatsby: `gatsby develop` does not serve static `index.html` files when directory is accessed

If my directory structure is this:

/static
    /test
        /index.html

and I run gatsby develop, then I cannot access my index.html file by going to localhost:8000/test/, I have to go to localhost:8000/test/index.html.

About this issue

  • Original URL
  • State: closed
  • Created 7 years ago
  • Comments: 18 (9 by maintainers)

Most upvoted comments

@tech4him1 probably won’t get to this soon so would love a PR when you have time or anyone else who sees this issue and wants it solved!

Thanks for implementing @Yurickh!

Let’s reopen this one