Skip to content

Commit

Permalink
chore : CORS 설정 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
GyuHo123 committed Jun 16, 2024
1 parent 8254bc5 commit 5c9d80a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ class SecurityConfig(
.cors { cors ->
cors.configurationSource {
val configuration = CorsConfiguration().apply {
addAllowedOrigin("https://study.kgyuho.dev")
allowedOriginPatterns = listOf("*")
allowedMethods = listOf("GET", "POST", "PUT", "DELETE", "OPTIONS")
allowedHeaders = listOf("*")
allowCredentials = true
Expand Down

0 comments on commit 5c9d80a

Please sign in to comment.