diff --git a/src/main/kotlin/com/github/creeper123123321/viaaas/web/ViaWebApp.kt b/src/main/kotlin/com/github/creeper123123321/viaaas/web/ViaWebApp.kt index 8d13a96..7f27b86 100644 --- a/src/main/kotlin/com/github/creeper123123321/viaaas/web/ViaWebApp.kt +++ b/src/main/kotlin/com/github/creeper123123321/viaaas/web/ViaWebApp.kt @@ -31,6 +31,9 @@ class ViaWebApp { } install(XForwardedHeaderSupport) install(ForwardedHeaderSupport) + // i think we aren't vulnerable to breach, dynamic things are websockets + // https://ktor.io/docs/compression.html#security + install(Compression) routing { webSocket("/ws") {