diff --git a/main.go b/main.go index 62c6af0..f5f0da0 100644 --- a/main.go +++ b/main.go @@ -33,7 +33,7 @@ func main() { app.Use(cors.New(cors.Config{ AllowCredentials: true, AllowOrigins: "http://*, https://*", - AllowHeaders: "Origin, Content-Type, Accept, Authorization, Access-Control-Allow-Origin", + AllowHeaders: "Origin, Content-Type, User-Agent, Connection, User-Agent, Accept, Authorization, Access-Control-Allow-Origin", AllowMethods: "GET, POST, PUT, DELETE, PATCH, HEAD, OPTIONS", }))