Skip to content

Commit

Permalink
Merge pull request #613 from woowacourse-teams/BE/cors
Browse files Browse the repository at this point in the history
[BE] cross origin에 api.coduo.site 추가
  • Loading branch information
reddevilmidzy authored Sep 26, 2024
2 parents 5f700dd + 2615d8f commit 7795d84
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public void addCorsMappings(final CorsRegistry registry) {
registry.addMapping("/**")
.allowedMethods("GET", "POST", "PUT", "DELETE", "OPTIONS", "PATCH", "HEAD")
.allowedOrigins("http://localhost:3000", "https://coduo.site", "https://test.coduo.site",
"https://api-test.coduo.site")
"https://api-test.coduo.site", "https://api.coduo.site")
.allowCredentials(true);
}
}

0 comments on commit 7795d84

Please sign in to comment.