Skip to content

Commit

Permalink
Add post to CORS setup (#179)
Browse files Browse the repository at this point in the history
  • Loading branch information
dotasek authored May 27, 2024
1 parent 2543146 commit 893e443
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/jvmMain/kotlin/Module.kt
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ fun Application.setup() {
allowMethod(HttpMethod.Options)
allowMethod(HttpMethod.Get)
allowMethod(HttpMethod.Put)
allowMethod(HttpMethod.Post)
allowMethod(HttpMethod.Delete)
allowMethod(HttpMethod.Patch)
allowHeader(HttpHeaders.Authorization)
Expand Down

0 comments on commit 893e443

Please sign in to comment.