From c54947b1d445166cbad6eb60a8b5f1d840fd7f29 Mon Sep 17 00:00:00 2001 From: RandithaK Date: Sat, 15 Nov 2025 14:26:45 +0530 Subject: [PATCH] feat: add development frontend origin to CORS configuration --- cmd/gateway/main.go | 1 + 1 file changed, 1 insertion(+) diff --git a/cmd/gateway/main.go b/cmd/gateway/main.go index 11d369b..e61acd7 100644 --- a/cmd/gateway/main.go +++ b/cmd/gateway/main.go @@ -226,6 +226,7 @@ func main() { "http://127.0.0.1:3000", "https://techtorque.vercel.app", "https://techtorque.randitha.net", + "https://dev.techtorque.randitha.net", }, AllowedMethods: []string{"GET", "POST", "PUT", "DELETE", "PATCH", "OPTIONS"}, AllowedHeaders: []string{"Accept", "Authorization", "Content-Type", "X-CSRF-Token"},