From 0bdd6b4dc6da986f00f492a6094d1cfbc8fb2a67 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E7=AB=8B=E5=B8=AE?= <3294713004@qq.com> Date: Tue, 16 Dec 2025 11:57:46 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20socket.io=E7=9A=84transports=E9=BB=98?= =?UTF-8?q?=E8=AE=A4=E5=8F=AA=E4=BD=BF=E7=94=A8websocket?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.js b/src/index.js index 502eedd..2bd533c 100755 --- a/src/index.js +++ b/src/index.js @@ -47,7 +47,7 @@ if (SERVER_MODE !== 'static') { cors: { origin: '*', methods: ['GET', 'POST'], - transports: ['websocket', 'polling', 'flashsocket'], + transports: ['websocket'], credentials: false } });