style&&chore: lint

This commit is contained in:
手瓜一十雪
2024-08-14 00:47:50 +08:00
parent 516838c521
commit 26ffec43fe
10 changed files with 118 additions and 118 deletions

View File

@@ -37,7 +37,7 @@ export class OB11PassiveWebSocketAdapter implements IOB11NetworkAdapter {
this.heartbeatInterval = heartbeatInterval;
this.wsServer = new WebSocketServer({ port: port, host: ip });
let core = coreContext;
const core = coreContext;
this.wsServer.on('connection', async (wsClient, wsReq) => {
if (!this.isOpen) {
wsClient.close();