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("*")