Skip to content

Commit 0653064

Browse files
committed
[fix] cors
1 parent 39f3e61 commit 0653064

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/main/java/com/moplus/moplus_server/global/config/WebConfig.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ public class WebConfig implements WebMvcConfigurer {
1717
@Override
1818
public void addCorsMappings(CorsRegistry registry) {
1919
registry.addMapping("/**")
20-
.allowedOrigins("http://203.252.168.41:8081", "http://localhost:8080", "http://203.252.168.41:3001", "http"
20+
.allowedOrigins("https://dev.mopl.kr", "http://localhost:8080", "https://www.mopl.kr", "http"
2121
+ "://localhost:3000")
2222
.allowedMethods("GET", "POST", "PUT", "DELETE", "OPTIONS")
2323
.allowedHeaders("*")

0 commit comments

Comments
 (0)