mirror of
https://github.com/ipfs/kubo.git
synced 2026-02-21 18:37:45 +08:00
fixes https://github.com/ipfs/go-ipfs/pull/4233#issuecomment-631454543 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. |
||
|---|---|---|
| .. | ||
| commands.go | ||
| corehttp.go | ||
| gateway_handler.go | ||
| gateway_indexPage.go | ||
| gateway_test.go | ||
| gateway.go | ||
| hostname_test.go | ||
| hostname.go | ||
| lazyseek_test.go | ||
| lazyseek.go | ||
| logs.go | ||
| metrics_test.go | ||
| metrics.go | ||
| mutex_profile.go | ||
| option_test.go | ||
| p2p_proxy_test.go | ||
| p2p_proxy.go | ||
| redirect.go | ||
| webui.go | ||