From 1783c99374295c0ec46518aa30386c509ba56688 Mon Sep 17 00:00:00 2001 From: usbharu <64310155+usbharu@users.noreply.github.com> Date: Thu, 14 Mar 2024 16:35:37 +0900 Subject: [PATCH] watchdog-be: f ktor --- .../src/main/kotlin/dev/usbharu/unos/watchdog/be/Main.kt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/watch-dog-be/src/main/kotlin/dev/usbharu/unos/watchdog/be/Main.kt b/watch-dog-be/src/main/kotlin/dev/usbharu/unos/watchdog/be/Main.kt index b47d2d3..69a483e 100644 --- a/watch-dog-be/src/main/kotlin/dev/usbharu/unos/watchdog/be/Main.kt +++ b/watch-dog-be/src/main/kotlin/dev/usbharu/unos/watchdog/be/Main.kt @@ -34,6 +34,9 @@ fun Application.module() { allowHost(frontEndUrl.authority, schemes = listOf(frontEndUrl.scheme)) allowCredentials = true allowNonSimpleContentTypes = true + allowHeaders { + true + } } install(CallLogging){ level = Level.TRACE