we don't need to install Routing in web socket server - it is not used and an conflict

This commit is contained in:
Sergey Chernov 2024-11-27 10:45:23 +07:00
parent 04ffde421d
commit a0dce8e604

View File

@ -45,8 +45,6 @@ fun <S> Application.setupWebsocketServer(
serverKey: SigningKey? = null,
createSession: () -> S,
) {
install(Routing)
install(WebSockets) {
pingPeriod = Duration.ofSeconds(15)
timeout = Duration.ofSeconds(15)