Skip to content

Commit

Permalink
Add post to CORS setup
Browse files Browse the repository at this point in the history
  • Loading branch information
dotasek committed May 27, 2024
1 parent d830da3 commit e220095
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 e220095

Please sign in to comment.