fix: 提高兼容性

This commit is contained in:
手瓜一十雪 committed 2024-08-20 20:26:49 +08:00
1 parent fdc1ef7e9a
commit 16769c7838
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}`,