Skip to content

Commit

Permalink
Update WebConfig.java
Browse files Browse the repository at this point in the history
  • Loading branch information
JongukYang authored Jan 12, 2024
1 parent 18ffb19 commit b386368
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main/java/com/hsstudy/GuessMyMBTI/config/WebConfig.java
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ public void addCorsMappings(CorsRegistry registry) {
// .allowCredentials(true);
registry.addMapping("/**")
.allowedOriginPatterns("*")
.allowedHeaders("*")
.allowedHeaders("Authorization", "Set-Cookie")
.exposedHeaders("Authorization", "Set-Cookie")
.allowedMethods("*")
.allowCredentials(true);
}
Expand Down

0 comments on commit b386368

Please sign in to comment.