diff --git a/cmd/gateway/main.go b/cmd/gateway/main.go index 704bcc1..7ab93f5 100644 --- a/cmd/gateway/main.go +++ b/cmd/gateway/main.go @@ -204,7 +204,7 @@ func main() { router.Use(middleware.Recoverer) router.Use(cors.New(cors.Options{ - AllowedOrigins: []string{"http://localhost:3000"}, + AllowedOrigins: []string{"http://localhost:3000", "https://techtorque.vercel.app"}, AllowedMethods: []string{"GET", "POST", "PUT", "DELETE", "PATCH", "OPTIONS"}, AllowedHeaders: []string{"Accept", "Authorization", "Content-Type", "X-CSRF-Token"}, ExposedHeaders: []string{"Link"},