Detect Age Restricted Geos

This commit is contained in:
jcalabro
2025-07-10 12:41:15 -04:00
committed by Hailey
parent 49d8b5a56e
commit eabf54c861
+2 -1
View File
@@ -603,7 +603,8 @@ type IPCCRequest struct {
IP string `json:"ip"`
}
type IPCCResponse struct {
CC string `json:"countryCode"`
CC string `json:"countryCode"`
AgeRestrictedGeo string `json:"isAgeRestrictedGeo"`
}
func (srv *Server) WebIpCC(c echo.Context) error {