Skip to content

Commit

Permalink
fix: add PATCH to allowed CORS methods (#3624)
Browse files Browse the repository at this point in the history
## Linked issues

None

----

- [ ] Tests E2E (Cypress)
  • Loading branch information
ivangabriele committed Sep 4, 2024
2 parents 6fe23f8 + 4f7c904 commit bef94e6
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 bef94e6

Please sign in to comment.