Skip to content

Commit d8d05ac

Browse files
authored
Merge pull request #136 from kjiyun/chat
#132 Deploy: CORS 배포설정
2 parents 826ced3 + 3da3d8b commit d8d05ac

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/main/java/com/memesphere/global/config/CorsMvcConfig.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ public class CorsMvcConfig implements WebMvcConfigurer {
1010
@Override
1111
public void addCorsMappings(CorsRegistry corsRegistry) {
1212
corsRegistry.addMapping("/**")
13-
.allowedOrigins("http://localhost:3000", "http://15.164.103.195");
13+
.allowedOrigins("http://localhost:3000", "http://15.164.103.195", "http://memesphere.site/",
14+
"https://memesphere.site/", "https://www.memesphere.site/",
15+
"http://api.memesphere.site", "https://api.memesphere.site");
1416
}
1517
}

0 commit comments

Comments
 (0)