We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d62e748 commit caa31a5Copy full SHA for caa31a5
jaksim/src/main/java/org/sopt/jaksim/auth/WebSecurityConfig.java
@@ -15,8 +15,8 @@ public class WebSecurityConfig implements WebMvcConfigurer {
15
16
@Override
17
public void addCorsMappings(CorsRegistry registry) {
18
- registry.addMapping("/api/**") //* *모든 경로에 대해*
19
- .allowedOrigins("https://localhost:3000", "http://localhost:3000")
+ registry.addMapping("/**") //* *모든 경로에 대해*
+ .allowedOrigins("https://localhost:5173", "http://localhost:5173")
20
.allowedHeaders("*")
21
.allowedMethods(HttpMethod.GET.name(), HttpMethod.POST.name()) //* *허용할* *HTTP* *메소드 목록*
22
.allowCredentials(true)
0 commit comments