diff --git a/src/server/server.go b/src/server/server.go index b87a926..f0467e1 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://www.kycnot.me"}, // allows everything, use that to change the hosts. + AllowedOrigins: []string{"https://kycnot.me", "https://*.kycnot.me"}, // allows everything, use that to change the hosts. AllowCredentials: true, }) s.Router.Use(crs)