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 |
||
|---|---|---|
| .. | ||
| dist | ||
| kubo | ||
| util | ||
| .gitignore | ||
| main.go | ||
| Rules.mk | ||
| runmain_test.go | ||