diff --git a/main.go b/main.go index 89205dc..87381fe 100644 --- a/main.go +++ b/main.go @@ -22,10 +22,9 @@ func main() { router := gin.Default() router.Use(cors.New(cors.Config{ AllowOrigins: []string{"*"}, - AllowCredentials: true, AllowMethods: []string{"*"}, - AllowAllOrigins: true, AllowHeaders: []string{"*"}, + AllowCredentials: true, })) file, err := os.Open(os.Getenv(CONFIG_PATH_ENV_VAR)) if err != nil {