diff --git a/api/src/features/CorsFeature.kt b/api/src/features/CorsFeature.kt index 55c4d4e..04484be 100644 --- a/api/src/features/CorsFeature.kt +++ b/api/src/features/CorsFeature.kt @@ -3,9 +3,11 @@ package be.vandewalleh.features import io.ktor.application.Application import io.ktor.application.install import io.ktor.features.CORS +import io.ktor.http.HttpHeaders fun Application.corsFeature() { install(CORS) { anyHost() + header(HttpHeaders.ContentType) } } \ No newline at end of file