Skip to content

Commit

Permalink
Merge pull request #97 from Chat-ITC/main
Browse files Browse the repository at this point in the history
fix: allowOrigin 변경
  • Loading branch information
YongGoose authored Sep 22, 2023
2 parents 5035185 + 99406c4 commit 2e86e87
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ public class WebSecurityConfig implements WebMvcConfigurer {
@Override
public void addCorsMappings(CorsRegistry registry) {
registry.addMapping("/**")
.allowedOrigins("https://coding-friends-client-21s6.vercel.app") // 허용할 도메인(Origin)을 명시적으로 지정
.allowedOrigins("https://with-citc.vercel.app/") // 허용할 도메인(Origin)을 명시적으로 지정
.allowedHeaders("*")
.exposedHeaders("accessToken", "refreshToken","validation")
.allowedMethods(
Expand Down

0 comments on commit 2e86e87

Please sign in to comment.