Skip to content

Commit

Permalink
fix: add PATCH to allowed CORS methods
Browse files Browse the repository at this point in the history
  • Loading branch information
lwih committed Sep 4, 2024
1 parent 6fe23f8 commit 4f7c904
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ class SecurityConfig(
val configuration =
CorsConfiguration().apply {
allowedOrigins = listOf("*")
allowedMethods = listOf("HEAD", "GET", "POST", "PUT", "DELETE", "OPTIONS")
allowedMethods = listOf("HEAD", "GET", "POST", "PUT", "PATCH", "DELETE", "OPTIONS")
allowedHeaders = listOf("Authorization", "Cache-Control", "Content-Type")
}

Expand Down

0 comments on commit 4f7c904

Please sign in to comment.