This commit is contained in:
CrescentLeaf
2025-11-23 14:24:50 +08:00
parent 8acf72c7bf
commit 8b3022bed0

View File

@@ -18,7 +18,7 @@ class Client {
this.socket?.disconnect() this.socket?.disconnect()
this.socket && delete this.socket this.socket && delete this.socket
this.socket = io({ this.socket = io({
transports: ['websocket'], transports: ['websocket', 'polling', 'webtransport'],
auth: { auth: {
device_id: data.device_id, device_id: data.device_id,
session_id: this.sessionId, session_id: this.sessionId,