Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: support directory listings even if a 404 page is present
fixes ipfs#4233 (comment) Basically, there's a trade-off here: 1. We can support directory listings while supporting 404 pages (this PR). 2. If a 404 page is present, directory listings don't work. Given that option 1 is more flexible and users shouldn't be _too_ confused if they land on a directory with no index.html page, I've gone with that option.
- Loading branch information