diff --git a/src/main/kotlin/com/wafflestudio/csereal/common/config/SecurityConfig.kt b/src/main/kotlin/com/wafflestudio/csereal/common/config/SecurityConfig.kt index 2468a89a..f34e8c9a 100644 --- a/src/main/kotlin/com/wafflestudio/csereal/common/config/SecurityConfig.kt +++ b/src/main/kotlin/com/wafflestudio/csereal/common/config/SecurityConfig.kt @@ -62,7 +62,7 @@ class SecurityConfig( @Bean fun corsConfigurationSource(): CorsConfigurationSource { val configuration = CorsConfiguration() - configuration.allowedOrigins = listOf("http://localhost:3000", "http://cse-dev-waffle.bacchus.io:3000") + configuration.allowedOrigins = listOf("*") configuration.allowedMethods = listOf("*") configuration.allowedHeaders = listOf("*") configuration.maxAge = 3000 diff --git a/src/main/kotlin/com/wafflestudio/csereal/common/config/WebConfig.kt b/src/main/kotlin/com/wafflestudio/csereal/common/config/WebConfig.kt index 3c1a296c..02795670 100644 --- a/src/main/kotlin/com/wafflestudio/csereal/common/config/WebConfig.kt +++ b/src/main/kotlin/com/wafflestudio/csereal/common/config/WebConfig.kt @@ -9,7 +9,7 @@ class WebConfig : WebMvcConfigurer { override fun addCorsMappings(registry: CorsRegistry) { registry.addMapping("/**") - .allowedOrigins("http://localhost:3000", "http://cse-dev-waffle.bacchus.io:3000") + .allowedOrigins("*") .allowedMethods("*") .allowedHeaders("*") .maxAge(3000)