We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c1100f3 commit aa6aa87Copy full SHA for aa6aa87
core/src/main/kotlin/plugins/HTTP.kt
@@ -39,9 +39,9 @@ fun Application.configureHTTP() {
39
install(CORS) {
40
allowedHosts.split(',').forEach(::allowHost)
41
allowCredentials = true
42
- allowHeader(HttpHeaders.ContentType)
43
allowHeader(HttpHeaders.Authorization)
44
- allowMethod(HttpMethod.Patch)
+ allowHeader(HttpHeaders.ContentType)
45
allowMethod(HttpMethod.Delete)
+ allowMethod(HttpMethod.Patch)
46
}
47
0 commit comments