diff --git a/src/main/kotlin/fr/dcproject/Application.kt b/src/main/kotlin/fr/dcproject/Application.kt index 7ca4ef7..30b3e15 100644 --- a/src/main/kotlin/fr/dcproject/Application.kt +++ b/src/main/kotlin/fr/dcproject/Application.kt @@ -183,6 +183,7 @@ fun Application.module(env: Env = PROD) { install(CORS) { method(HttpMethod.Options) + method(HttpMethod.Put) header(HttpHeaders.Authorization) anyHost() // host("localhost:4200", schemes = listOf("http", "https"))