Skip to content

Commit

Permalink
chore: update allowed headers
Browse files Browse the repository at this point in the history
  • Loading branch information
metehus committed Sep 28, 2023
1 parent 93ed0b5 commit 6383b45
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/main/kotlin/io/musicorum/api/plugins/HTTP.kt
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,12 @@ fun Application.configureHTTP() {
allowMethod(HttpMethod.Delete)
allowMethod(HttpMethod.Patch)
allowHeader(HttpHeaders.Authorization)
allowHeader(HttpHeaders.ContentType)
allowHeader("*")

allowCredentials = true
maxAgeInSeconds = 3600

anyHost()
}
}

0 comments on commit 6383b45

Please sign in to comment.