Skip to content

Commit

Permalink
fix: Allowed request from same origin
Browse files Browse the repository at this point in the history
  • Loading branch information
LotuxPunk committed Oct 14, 2024
1 parent 4c0fcb3 commit b9864e3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main/kotlin/be/vandeas/plugins/HTTP.kt
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,7 @@ fun Application.configureHTTP() {
allowHeader(HttpHeaders.Accept)
allowHeader(HttpHeaders.AccessControlAllowOrigin)
anyHost()

allowSameOrigin = true
}
}

0 comments on commit b9864e3

Please sign in to comment.