fix: 拦截错误
This commit is contained in:
1 parent
5825fd6f36
commit
7b09479cd2
1 file changed
+1
@@ -33,6 +33,7 @@ export class WebsocketServerBase {
|
|||||||
port,
|
port,
|
||||||
host: '',
|
host: '',
|
||||||
maxPayload: 1024 * 1024 * 1024
|
maxPayload: 1024 * 1024 * 1024
|
||||||
|
}).on('error', () => {
|
||||||
});
|
});
|
||||||
log(`ws服务启动成功, ${host}:${port}`);
|
log(`ws服务启动成功, ${host}:${port}`);
|
||||||
} catch (e: any) {
|
} catch (e: any) {
|
||||||
|
|||||||
Reference in new issue
Block a user