From e5bf32789acdec3edbe529c5dbd015d9d3bab64b Mon Sep 17 00:00:00 2001 From: Heekyeong Park Date: Wed, 4 Oct 2023 02:46:05 +0900 Subject: [PATCH] =?UTF-8?q?hotfix:=20cors,=20application.yml=20=EC=97=90?= =?UTF-8?q?=EB=9F=AC=20=ED=95=B4=EA=B2=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/techeer/checkIt/global/config/WebConfiguration.java | 2 +- src/main/resources/security | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/techeer/checkIt/global/config/WebConfiguration.java b/src/main/java/com/techeer/checkIt/global/config/WebConfiguration.java index 0113c20..2f242cc 100644 --- a/src/main/java/com/techeer/checkIt/global/config/WebConfiguration.java +++ b/src/main/java/com/techeer/checkIt/global/config/WebConfiguration.java @@ -9,7 +9,7 @@ public class WebConfiguration implements WebMvcConfigurer { @Override public void addCorsMappings(CorsRegistry registry) { registry.addMapping("/**") - .allowedOrigins("http://localhost:3000") + .allowedOrigins("http://localhost:5173") .allowedMethods("GET", "POST", "PUT") .allowCredentials(true); } diff --git a/src/main/resources/security b/src/main/resources/security index 249613f..60f7214 160000 --- a/src/main/resources/security +++ b/src/main/resources/security @@ -1 +1 @@ -Subproject commit 249613ff8416a5880bf440dc868bf905565793f0 +Subproject commit 60f7214407bcc48a94f3b61b635a0380669e2445