From 912ab1bd9b771cf14c830203332f3620e661a752 Mon Sep 17 00:00:00 2001 From: Eric Bailey Date: Fri, 22 Aug 2025 14:55:16 -0500 Subject: [LEG-246] Geo overlay (#8881) * Add AgeBlockedGeo * Add MaxMind usage text * Add geo overlay --------- Co-authored-by: rafael --- bskyweb/cmd/bskyweb/server.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bskyweb') diff --git a/bskyweb/cmd/bskyweb/server.go b/bskyweb/cmd/bskyweb/server.go index 4208eea2d..89cd112cd 100644 --- a/bskyweb/cmd/bskyweb/server.go +++ b/bskyweb/cmd/bskyweb/server.go @@ -606,10 +606,10 @@ type IPCCRequest struct { type IPCCResponse struct { CC string `json:"countryCode"` AgeRestrictedGeo bool `json:"isAgeRestrictedGeo,omitempty"` + AgeBlockedGeo bool `json:"isAgeBlockedGeo,omitempty"` } -// IP address data is powered by IPinfo -// https://ipinfo.io +// This product includes GeoLite2 Data created by MaxMind, available from https://www.maxmind.com. func (srv *Server) WebIpCC(c echo.Context) error { realIP := c.RealIP() addr, err := netip.ParseAddr(realIP) -- cgit 1.4.1