diff --git a/main.go b/main.go index a01d371..d3fff9f 100644 --- a/main.go +++ b/main.go @@ -89,6 +89,7 @@ func main() { // set up server router := openapi.NewRouter() + router.SetTrustedProxies(nil) // we don't use any proxies on the backend mux := http.NewServeMux() // Forward everything gin doesn't own (/announce, /servers) to the mux.