From d3db0b7b822ef2b8b52fd0294ee540016b92a006 Mon Sep 17 00:00:00 2001 From: RetepMil Date: Sun, 1 Oct 2023 18:35:03 +0900 Subject: [PATCH] =?UTF-8?q?:rocket:=20nginX=20=EB=8F=84=EC=9E=85=EC=97=90?= =?UTF-8?q?=20=EB=94=B0=EB=A5=B8=20=EC=98=A4=EB=A6=AC=EC=A7=84=20=ED=8F=AC?= =?UTF-8?q?=ED=8A=B8=EB=B3=80=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../personal/dailysteady/common/security/config/WebConfig.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/kotlin/retepmil/personal/dailysteady/common/security/config/WebConfig.kt b/src/main/kotlin/retepmil/personal/dailysteady/common/security/config/WebConfig.kt index 838cd74..6ad99a7 100644 --- a/src/main/kotlin/retepmil/personal/dailysteady/common/security/config/WebConfig.kt +++ b/src/main/kotlin/retepmil/personal/dailysteady/common/security/config/WebConfig.kt @@ -7,12 +7,12 @@ import org.springframework.web.servlet.config.annotation.WebMvcConfigurer @Configuration @EnableWebMvc -class WebConfig() : WebMvcConfigurer { +class WebConfig : WebMvcConfigurer { // CORS 설정 override fun addCorsMappings(registry: CorsRegistry) { registry.addMapping("/**") - .allowedOrigins("http://localhost:5173", "http://dailysteady.site:5173") + .allowedOrigins("http://localhost:5173", "http://dailysteady.site/") .allowedMethods("*") .allowCredentials(true) .exposedHeaders("*")