fix: 提高兼容性

This commit is contained in:
手瓜一十雪 committed 2024-08-20 20:26:49 +08:00
1 parent e84e22e7b5
commit d91d03a8f3
5 files changed
+19 -1

No files matched your search

+2
View File
@@ -71,6 +71,8 @@ export class OB11ActiveWebSocketAdapter implements IOB11NetworkAdapter {
this.connection = new WebSocket(this.url, {
maxPayload: 1024 * 1024 * 1024,
handshakeTimeout: 2000,
perMessageDeflate: false,
headers: {
'X-Self-ID': this.coreContext.selfInfo.uin,
'Authorization': `Bearer ${this.token}`,