From 894ebfe9b30c9aeb4fc0b7509d65d1518974791b Mon Sep 17 00:00:00 2001 From: Jimin0304 Date: Sat, 9 Dec 2023 23:09:52 +0900 Subject: [PATCH] =?UTF-8?q?chore:=20cors=20origin=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/com/CSP2/switchcon/common/config/CorsConfig.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/CSP2/switchcon/common/config/CorsConfig.java b/src/main/java/com/CSP2/switchcon/common/config/CorsConfig.java index 31a2885..a434300 100644 --- a/src/main/java/com/CSP2/switchcon/common/config/CorsConfig.java +++ b/src/main/java/com/CSP2/switchcon/common/config/CorsConfig.java @@ -12,7 +12,7 @@ public class CorsConfig implements WebMvcConfigurer { @Override public void addCorsMappings(CorsRegistry registry) { registry.addMapping("/**") - .allowedOrigins("http://localhost:3000", "http://switchcon.github.io") + .allowedOrigins("http://localhost:3000", "https://switchcon.github.io/switchcon-front") .allowCredentials(true) .allowedMethods("*"); }