From 2954f8a401040670aca8ebb7fbec8785b264e1b4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=B9=80=EB=AF=BC=EC=84=9D?= Date: Mon, 19 Aug 2024 18:03:09 +0900 Subject: [PATCH] =?UTF-8?q?feat:=20cors=EC=A3=BC=EC=86=8C=20=EC=B6=94?= =?UTF-8?q?=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/store/itpick/backend/config/WebConfig.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/store/itpick/backend/config/WebConfig.java b/src/main/java/store/itpick/backend/config/WebConfig.java index 1513954..a9d7234 100644 --- a/src/main/java/store/itpick/backend/config/WebConfig.java +++ b/src/main/java/store/itpick/backend/config/WebConfig.java @@ -47,7 +47,7 @@ public void addArgumentResolvers(List resolvers) public void addCorsMappings(CorsRegistry registry) { log.info("CorsMapping이 호출 되었습니다."); registry.addMapping("/**") - .allowedOrigins("http://localhost:3000", "http://localhost:5173", "https://localhost:5173", "https://itpick.netlify.app","https://itpick.vercel.app","https://deploy-preview-85--itpick.netlify.app","https://deploy-preview-99--itpick.netlify.app") + .allowedOrigins("http://localhost:3000", "http://localhost:5173", "https://localhost:5173", "https://itpick.netlify.app","https://itpick.vercel.app","https://deploy-preview-107--itpick.netlify.app") .allowedMethods("GET", "POST", "PUT", "DELETE", "PATCH","OPTIONS") .exposedHeaders("location", "Authorization") .allowedHeaders("Content-Type", "Authorization", "X-Requested-With", "Accept")