mirror of
https://github.com/ipfs/kubo.git
synced 2026-03-05 08:18:03 +08:00
display a landing page at gateway root "/" when `Gateway.RootRedirect` is not configured. the page indicates that kubo is working and provides links to documentation and resources. - embed HTML at compile time using go:embed - intercept 404 responses on known gateways (like localhost) with zero-buffering overhead - hide abuse reporting section for localhost/127.0.0.1 - serve landing page on both gateway and RPC API ports |
||
|---|---|---|
| .. | ||
| assets | ||
| commands.go | ||
| corehttp.go | ||
| gateway_test.go | ||
| gateway.go | ||
| landing.go | ||
| logs.go | ||
| metrics_test.go | ||
| metrics.go | ||
| mutex_profile.go | ||
| option_test.go | ||
| p2p_proxy_test.go | ||
| p2p_proxy.go | ||
| redirect.go | ||
| routing.go | ||
| webui.go | ||