Skip to content

Commit

Permalink
fix rerouting
Browse files Browse the repository at this point in the history
Signed-off-by: slashexx <[email protected]>
  • Loading branch information
slashexx committed Dec 5, 2024
1 parent 920dd22 commit 85536d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/code-execution-service/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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")
}
Expand Down

0 comments on commit 85536d9

Please sign in to comment.