kubo/core/corehttp
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
..
assets feat(gateway): add default landing page when RootRedirect is not set 2025-12-04 23:31:47 +01:00
commands.go chore: bump to go-ipfs-cmds @ v0.11 2024-04-17 07:47:39 +02:00
corehttp.go refactor: remove goprocess (#10872) 2025-08-06 00:33:45 +02:00
gateway_test.go feat(gateway): add default landing page when RootRedirect is not set 2025-12-04 23:31:47 +01:00
gateway.go feat(gateway): add default landing page when RootRedirect is not set 2025-12-04 23:31:47 +01:00
landing.go feat(gateway): add default landing page when RootRedirect is not set 2025-12-04 23:31:47 +01:00
logs.go chore: use go-log/v2 (#10801) 2025-05-19 13:04:05 -07:00
metrics_test.go chore: update boxo, go-libp2p, and internalize mplex (#10095) 2023-08-24 06:11:02 +00:00
metrics.go feat(config): Gateway.RetrievalTimeout|MaxConcurrentRequests (#10905) 2025-08-15 02:36:33 +02:00
mutex_profile.go refactor: rename to kubo 2022-07-06 18:40:37 +02:00
option_test.go refactor: if statement (#10105) 2023-09-05 15:35:51 +02:00
p2p_proxy_test.go remove unneeded thirdparty packages (#10871) 2025-07-16 01:53:42 -07:00
p2p_proxy.go ci: add stylecheck to golangci-lint (#9334) 2022-10-06 10:18:40 -04:00
redirect.go fix: canonicalize user defined headers 2023-03-17 23:40:35 +01:00
routing.go feat(gateway): add default landing page when RootRedirect is not set 2025-12-04 23:31:47 +01:00
webui.go chore: update webui to v4.10.0 (#11048) 2025-11-06 02:23:42 +01:00