diff --git a/main.go b/main.go index eb4c3b0..82d9a3c 100644 --- a/main.go +++ b/main.go @@ -189,7 +189,7 @@ func notify(jsonResponse string) { func main() { router := gin.Default() router.Use(cors.New(cors.Config{ - AllowOrigins: []string{"http://192.168.0.200:*"}, + AllowOrigins: []string{"*"}, AllowMethods: []string{"POST", "GET", "OPTIONS"}, AllowHeaders: []string{"Content-Type", "Authorization"}, ExposeHeaders: []string{"Content-Length"},