feat: allow cross-origin API requests for the web client
CI / chart (push) Successful in 3s
CI / chart-push (push) Successful in 3s
CI / test (push) Successful in 1m46s
CI / image (push) Successful in 3m21s

The Kotlin/Wasm client can be hosted separately from the API. Bearer auth
does not use cookies, so a permissive CORS policy is safe and keeps the
static bundle deployable anywhere.
This commit is contained in:
TapTap committed 2026-11-14 18:24:13 +00:00
1 parent b33eb076c1
commit 54cf807a9b
2 files changed
+19

No files matched your search

+1
View File
@@ -35,6 +35,7 @@ dependencies {
implementation("io.ktor:ktor-server-status-pages-jvm:3.1.2")
implementation("io.ktor:ktor-server-call-logging-jvm:3.1.2")
implementation("io.ktor:ktor-server-auto-head-response-jvm:3.1.2")
implementation("io.ktor:ktor-server-cors-jvm:3.1.2")
// Database
implementation("org.jetbrains.exposed:exposed-core:0.60.0")