kubo/core/corehttp/assets
Marcin Rataj 052e8233a2 feat(gateway): add default landing page when RootRedirect is not set
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
2025-12-04 23:31:47 +01:00
..
landing.html feat(gateway): add default landing page when RootRedirect is not set 2025-12-04 23:31:47 +01:00