we don't need to install Routing in web socket server - it is not used and an conflict
This commit is contained in:
parent
04ffde421d
commit
a0dce8e604
@ -45,8 +45,6 @@ fun <S> Application.setupWebsocketServer(
|
|||||||
serverKey: SigningKey? = null,
|
serverKey: SigningKey? = null,
|
||||||
createSession: () -> S,
|
createSession: () -> S,
|
||||||
) {
|
) {
|
||||||
|
|
||||||
install(Routing)
|
|
||||||
install(WebSockets) {
|
install(WebSockets) {
|
||||||
pingPeriod = Duration.ofSeconds(15)
|
pingPeriod = Duration.ofSeconds(15)
|
||||||
timeout = Duration.ofSeconds(15)
|
timeout = Duration.ofSeconds(15)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user