diff --git a/backend/code-execution-service/main.go b/backend/code-execution-service/main.go index 8f80750..3441665 100644 --- a/backend/code-execution-service/main.go +++ b/backend/code-execution-service/main.go @@ -120,7 +120,7 @@ func executeCode(language string, code string) (string, error) { } func enableCors(w http.ResponseWriter) { - w.Header().Set("Access-Control-Allow-Origin", "https://codebrewery.vercel.app") + w.Header().Set("Access-Control-Allow-Origin", "https://codebrewery-api-gateway.onredner.com") w.Header().Set("Access-Control-Allow-Methods", "POST, OPTIONS") w.Header().Set("Access-Control-Allow-Headers", "Content-Type") }