Skip to content

Commit

Permalink
Merge branch 'dev' into feat/44
Browse files Browse the repository at this point in the history
  • Loading branch information
annahxxl committed Mar 6, 2024
2 parents c2c6610 + a9d6d2a commit 46a8523
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,11 @@ class WebSecurityConfig(
@Bean
fun corsConfigurationSource(): CorsConfigurationSource {
val configuration = CorsConfiguration()
configuration.allowedOriginPatterns = listOf("*")
configuration.allowedOriginPatterns = listOf(
"http://localhost:5173",
"http:kiwing.kr",
"https://kiwing.kr",
)
configuration.allowCredentials = true
configuration.allowedHeaders = listOf("*")
configuration.allowedMethods = listOf("HEAD", "GET", "POST", "PUT", "PATCH", "DELETE", "OPTIONS")
Expand Down

0 comments on commit 46a8523

Please sign in to comment.