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 b4bebe1 commit 8aba666Copy full SHA for 8aba666
src/jvmMain/kotlin/Server.kt
@@ -30,6 +30,7 @@ fun main() {
30
json()
31
}
32
install(CORS) {
33
+ allowHeader(HttpHeaders.ContentType)
34
allowMethod(HttpMethod.Get)
35
allowMethod(HttpMethod.Post)
36
allowMethod(HttpMethod.Delete)
@@ -65,4 +66,4 @@ fun main() {
65
66
67
68
}.start(wait = true)
-}
69
+}
0 commit comments