Skip to content

Commit

Permalink
fix: Cors URL 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
dnjsqls5973 committed Nov 1, 2023
1 parent 0c656a4 commit 26db43b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/WithYou/global/config/WebSecurityConfig.java
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("/**") // 허용할 도메인(Origin)을 명시적으로 지정
.allowedOrigins("*") // 허용할 도메인(Origin)을 명시적으로 지정
.allowedHeaders("*")
.exposedHeaders("accessToken", "refreshToken", "validation")
.allowedMethods(
Expand Down

0 comments on commit 26db43b

Please sign in to comment.