package be.vandewalleh.features import io.ktor.application.* import io.ktor.features.* import io.ktor.http.* fun Application.corsFeature() { install(CORS) { anyHost() header(HttpHeaders.ContentType) header(HttpHeaders.Authorization) methods.add(HttpMethod.Delete) } }