Merge pull request 'watchdog-be: f ktor' () from watchdog-be into master

Reviewed-on: 
This commit is contained in:
usbharu 2024-03-14 07:35:51 +00:00
commit c0dfb92fcb
1 changed files with 3 additions and 0 deletions
watch-dog-be/src/main/kotlin/dev/usbharu/unos/watchdog/be

View File

@ -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