Skip to content

Commit

Permalink
fix: keeper.or.kr cors 허용
Browse files Browse the repository at this point in the history
  • Loading branch information
redundant4u committed Oct 15, 2023
1 parent 5be67f3 commit 132ea83
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ public void addFormatters(FormatterRegistry registry) {
@Override
public void addCorsMappings(CorsRegistry registry) {
registry.addMapping("/**")
.allowedOrigins("https://localhost:3000")
.allowedOrigins("https://keeper.or.kr", "https://localhost:3000")
.allowedMethods("GET", "POST", "PUT", "PATCH", "DELETE", "OPTIONS")
.allowedHeaders("headers")
.maxAge(3000);
Expand Down

0 comments on commit 132ea83

Please sign in to comment.