mirror of
https://github.com/whitechi73/OpenShamrock.git
synced 2024-08-14 13:12:17 +08:00
Shamrock
: fix #67
This commit is contained in:
parent
58d93b8f56
commit
b9ef0ca8f5
@ -69,8 +69,8 @@ internal class WebSocketService(host: String, port: Int): WebSocketTransmitServl
|
|||||||
}
|
}
|
||||||
val path = URI.create(handshake.resourceDescriptor).path
|
val path = URI.create(handshake.resourceDescriptor).path
|
||||||
if (path != "/api") {
|
if (path != "/api") {
|
||||||
pushMetaLifecycle()
|
|
||||||
eventReceivers.add(conn)
|
eventReceivers.add(conn)
|
||||||
|
pushMetaLifecycle()
|
||||||
}
|
}
|
||||||
LogCenter.log({ "WSServer连接(${conn.remoteSocketAddress.address.hostAddress}:${conn.remoteSocketAddress.port}$path)" }, Level.WARN)
|
LogCenter.log({ "WSServer连接(${conn.remoteSocketAddress.address.hostAddress}:${conn.remoteSocketAddress.port}$path)" }, Level.WARN)
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user