diff --git a/src/main/kotlin/com/example/lsa/common/auth/SecurityConfig.kt b/src/main/kotlin/com/example/lsa/common/auth/SecurityConfig.kt index 05e7116..5a9b054 100644 --- a/src/main/kotlin/com/example/lsa/common/auth/SecurityConfig.kt +++ b/src/main/kotlin/com/example/lsa/common/auth/SecurityConfig.kt @@ -36,7 +36,7 @@ class SecurityConfig( .cors { cors -> cors.configurationSource { val configuration = CorsConfiguration().apply { - allowedOriginPatterns = listOf("*") + allowedOriginPatterns = listOf("https://jedutools.jbnu.ac.kr") allowedMethods = listOf("GET", "POST", "PUT", "DELETE", "OPTIONS") allowedHeaders = listOf("*") allowCredentials = true