mirror of
https://github.com/ipfs/kubo.git
synced 2026-03-06 00:38:08 +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 |
||
|---|---|---|
| .. | ||
| landing.html | ||