fix: Send empty forward msg

This commit is contained in:
linyuchen
2024-04-16 12:50:14 +08:00
parent 0299ff41ad
commit 851673be1b
7 changed files with 42 additions and 19 deletions

View File

@@ -29,7 +29,10 @@ export class WebsocketServerBase {
start(port: number) {
try {
this.ws = new WebSocketServer({ port });
this.ws = new WebSocketServer({
port ,
maxPayload: 1024 * 1024 * 1024
});
} catch (e: any) {
throw Error('ws服务启动失败, ' + e.toString());
}