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

This commit is contained in:
sergeych committed 2024-11-27 10:45:23 +07:00
1 parent 04ffde421d
commit a0dce8e604
1 file changed
-2
@@ -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)