From 19be5705f780c4f0e3e7fe0c1bbe729815eae6c0 Mon Sep 17 00:00:00 2001 From: pluja Date: Sun, 25 Feb 2024 18:28:59 +0100 Subject: [PATCH] tem cors fix --- src/server/server.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/server/server.go b/src/server/server.go index f0467e1..3a7462e 100644 --- a/src/server/server.go +++ b/src/server/server.go @@ -72,7 +72,7 @@ func (s *Server) SetupMiddleware() { s.Router.Use(crs) } else { crs := cors.New(cors.Options{ - AllowedOrigins: []string{"https://kycnot.me", "https://*.kycnot.me"}, // allows everything, use that to change the hosts. + AllowedOrigins: []string{"*"}, // allows everything, use that to change the hosts. AllowCredentials: true, }) s.Router.Use(crs)