Skip to content

Commit 506a5f8

Browse files
committed
[EA3-210] feature: cors 설정 주소 추가
1 parent d9fe333 commit 506a5f8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/grep/neogulcoder/global/config/WebConfig.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ public void addResourceHandlers(ResourceHandlerRegistry registry) {
3333
@Override
3434
public void addCorsMappings(CorsRegistry registry) {
3535
registry.addMapping("/**")
36-
.allowedOriginPatterns(frontServer, "http://localhost:3000", "https://wibby.cedartodo.uk")
36+
.allowedOriginPatterns(frontServer, "http://localhost:3000", "https://wibby.cedartodo.uk", "https://www.wibby.o-r.kr")
3737
.allowedMethods("GET", "POST", "PUT", "DELETE", "OPTIONS")
3838
.allowedHeaders("*")
3939
.allowCredentials(true)

0 commit comments

Comments
 (0)