Skip to content

Commit

Permalink
Merge pull request #55 from Catch-You/fix/사건상세조회
Browse files Browse the repository at this point in the history
[REFACTOR] corsConfig 수정
  • Loading branch information
xloyeon authored Dec 17, 2023
2 parents 806b393 + 8f625fb commit c4a5fa6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ public void addCorsMappings(CorsRegistry registry) {
String[] patterns = allowedOriginPatterns.toArray(String[]::new);
registry.addMapping("/**")
.allowedMethods("*")
.allowedOriginPatterns("*")
.allowedOriginPatterns("*", "http://localhost:5173")
.exposedHeaders("Set-Cookie")
.allowCredentials(true);
}
Expand Down

0 comments on commit c4a5fa6

Please sign in to comment.