Skip to content

Commit 0c85cdc

Browse files
committed
feat: allowCredentials
1 parent b96637c commit 0c85cdc

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/main/java/com/example/busan/common/config/WebConfigurer.java

+2-1
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ public void addArgumentResolvers(final List<HandlerMethodArgumentResolver> resol
2626
public void addCorsMappings(final CorsRegistry registry) {
2727
registry.addMapping("/**")
2828
.allowedOrigins("http://localhost:3000")
29-
.allowedMethods("*");
29+
.allowedMethods("*")
30+
.allowCredentials(true);
3031
}
3132
}

0 commit comments

Comments
 (0)