routewatch/internal/server
sneak 2f96141e48 Fix IPv6 prefix length links to use separate /prefixlength6/<len> route
The prefix length links for IPv6 prefixes were incorrectly pointing to
/prefixlength/<len> which would show IPv4 prefixes. Added a new route
/prefixlength6/<len> specifically for IPv6 prefixes and updated the
template to use the correct URL based on whether displaying IPv4 or IPv6
prefix distributions.

Also refactored handlePrefixLength to explicitly handle only IPv4 prefixes
and created handlePrefixLength6 for IPv6 prefixes, removing the ambiguous
auto-detection based on mask length value.
2025-08-09 11:37:14 +02:00
..
handlers.go Fix IPv6 prefix length links to use separate /prefixlength6/<len> route 2025-08-09 11:37:14 +02:00
middleware.go Add JSON validation middleware to ensure valid API responses 2025-07-29 04:13:01 +02:00
routes.go Fix IPv6 prefix length links to use separate /prefixlength6/<len> route 2025-08-09 11:37:14 +02:00
server.go Quadruple all HTTP timeouts to prevent timeout errors 2025-07-29 04:18:07 +02:00