Skip to content

Commit dc37759

Browse files
committed
[fix] 개발 클라이언트 도메인 CORS 추가
1 parent 7afe071 commit dc37759

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/com/moplus/moplus_server/global/config/WebConfig.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ public class WebConfig implements WebMvcConfigurer {
1818
public void addCorsMappings(CorsRegistry registry) {
1919
registry.addMapping("/**")
2020
.allowedOrigins("https://dev.mopl.kr","http://dev.mopl.kr", "http://localhost:8080", "https://www.mopl.kr", "http"
21-
+ "://localhost:3000")
21+
+ "://localhost:3000", "https://web-dev.mopl.kr", "http://web-dev.mopl.kr")
2222
.allowedMethods("GET", "POST", "PUT", "DELETE", "OPTIONS")
2323
.allowedHeaders("*")
2424
.allowCredentials(true);

0 commit comments

Comments
 (0)