From e27932b8d566f02854045dc90f82b52f0b149855 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EC=86=A1=EC=98=81=EB=AF=BC=20=28YeongMin=20Song=29?= Date: Fri, 21 Jun 2024 19:06:09 +0900 Subject: [PATCH] feat: add cors dev server --- 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 997509ec..d272e4fb 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") + .allowedOrigins("https://bibbi.app", "https://no5ing.kr", "https://dev.no5ing.kr") .allowedMethods("GET", "POST", "PUT", "DELETE") .allowedHeaders("Authorization", "Content-Type") .allowCredentials(true)