From 99406c4b58ef50073f73ad70a094a2301cf11e76 Mon Sep 17 00:00:00 2001 From: hong Date: Fri, 22 Sep 2023 21:06:55 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20allowOrigin=20=EB=B3=80=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../codingFriends_Server/global/config/WebSecurityConfig.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/codingFriends_Server/global/config/WebSecurityConfig.java b/src/main/java/codingFriends_Server/global/config/WebSecurityConfig.java index 3d3ccdd..351a2cc 100644 --- a/src/main/java/codingFriends_Server/global/config/WebSecurityConfig.java +++ b/src/main/java/codingFriends_Server/global/config/WebSecurityConfig.java @@ -11,7 +11,7 @@ public class WebSecurityConfig implements WebMvcConfigurer { @Override public void addCorsMappings(CorsRegistry registry) { registry.addMapping("/**") - .allowedOrigins("https://coding-friends-client-21s6.vercel.app") // 허용할 도메인(Origin)을 명시적으로 지정 + .allowedOrigins("https://with-citc.vercel.app/") // 허용할 도메인(Origin)을 명시적으로 지정 .allowedHeaders("*") .exposedHeaders("accessToken", "refreshToken","validation") .allowedMethods(