diff --git a/src/main/kotlin/be/vandeas/plugins/HTTP.kt b/src/main/kotlin/be/vandeas/plugins/HTTP.kt index 5104531..1f883d7 100644 --- a/src/main/kotlin/be/vandeas/plugins/HTTP.kt +++ b/src/main/kotlin/be/vandeas/plugins/HTTP.kt @@ -17,5 +17,7 @@ fun Application.configureHTTP() { allowHeader(HttpHeaders.Accept) allowHeader(HttpHeaders.AccessControlAllowOrigin) anyHost() + + allowSameOrigin = true } }