mirror of
https://github.com/NapNeko/NapCatQQ.git
synced 2026-02-06 13:05:09 +00:00
fix: Send empty forward msg
This commit is contained in:
@@ -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());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user