Skip to content

Commit

Permalink
Chore :CORS 관련 설정
Browse files Browse the repository at this point in the history
  • Loading branch information
hyeonda02 committed Aug 19, 2024
1 parent 3cc2858 commit f4f0c6c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main/java/hsu/umc/server/UMCConfiguration.java
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ public void addCorsMappings(CorsRegistry registry) {
registry.addMapping("/**")
.allowedOrigins("*")
.allowedMethods("GET", "POST", "PATCH", "DELETE", "PUT")
.allowedHeaders("*");
.allowedHeaders("*")
.allowCredentials(true);
}
}

0 comments on commit f4f0c6c

Please sign in to comment.