fix: Send empty forward msg

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

No files matched your search

+4 -1
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());
}