From 5c6ebc91b22dc1921b994a076a1b73806e5899ca Mon Sep 17 00:00:00 2001 From: SunYerim Date: Wed, 10 Jul 2024 00:37:04 +0900 Subject: [PATCH] =?UTF-8?q?url=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/sunjoo/auth/global/config/WebConfig.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/sunjoo/auth/global/config/WebConfig.java b/src/main/java/com/sunjoo/auth/global/config/WebConfig.java index 9ec87d1..cd93feb 100644 --- a/src/main/java/com/sunjoo/auth/global/config/WebConfig.java +++ b/src/main/java/com/sunjoo/auth/global/config/WebConfig.java @@ -10,7 +10,7 @@ public class WebConfig implements WebMvcConfigurer { @Override public void addCorsMappings(CorsRegistry registry) { registry.addMapping("/**") - .allowedOrigins("http://localhost:3000, http://sunjoo.s3-website.ap-northeast-2.amazonaws.com/, https://sunjoo-sand.vercel.app/") + .allowedOrigins("http://localhost:3000", "http://sunjoo.s3-website.ap-northeast-2.amazonaws.com", "https://sunjoo-sand.vercel.app") .allowedMethods("GET", "POST", "PUT", "DELETE", "OPTIONS") .allowedHeaders("*") .exposedHeaders("Authorization")