Shamrock: fix #67

This commit is contained in:
WhiteChi 2023-11-21 11:55:14 +08:00
parent 58d93b8f56
commit b9ef0ca8f5

View File

@ -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)
} }