Skip to content

Commit

Permalink
Merge pull request #190 from Open-MBEE/fix/cors
Browse files Browse the repository at this point in the history
fix: accept-post header
  • Loading branch information
blake-regalia authored Feb 1, 2025
2 parents 07f605d + 79ff435 commit c9bb210
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main/kotlin/org/openmbee/flexo/mms/server/HTTP.kt
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ fun Application.configureHTTP() {
allowMethod(HttpMethod.Patch)
allowMethod(HttpMethod.Delete)

exposeHeader("Accept-Post")
exposeHeader("Accept-Patch")
exposeHeader("Accept-Put")
exposeHeader(HttpHeaders.Allow)
Expand Down

0 comments on commit c9bb210

Please sign in to comment.