This commit is contained in:
creeper123123321 2021-03-13 16:51:00 -03:00
parent bda8e56f47
commit cc80cb2643

View File

@ -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") {