From 5234e8e5d9a7e2266ccc22b2278962f6d8493a8a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EC=86=A1=EC=98=81=EB=AF=BC?= Date: Sun, 23 Jun 2024 22:42:04 +0900 Subject: [PATCH] hotfix: add cors origin --- gateway/src/main/java/com/oing/config/SpringWebConfig.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gateway/src/main/java/com/oing/config/SpringWebConfig.java b/gateway/src/main/java/com/oing/config/SpringWebConfig.java index d272e4fb..114baaa1 100644 --- a/gateway/src/main/java/com/oing/config/SpringWebConfig.java +++ b/gateway/src/main/java/com/oing/config/SpringWebConfig.java @@ -58,7 +58,7 @@ public void addArgumentResolvers(List resolvers) @Override public void addCorsMappings(CorsRegistry registry) { registry.addMapping("/**") - .allowedOrigins("https://bibbi.app", "https://no5ing.kr", "https://dev.no5ing.kr") + .allowedOrigins("https://bibbi.app", "https://no5ing.kr", "https://dev.api.no5ing.kr", "https://link.no5ing.kr", "https://link.bibbi.app") .allowedMethods("GET", "POST", "PUT", "DELETE") .allowedHeaders("Authorization", "Content-Type") .allowCredentials(true)