From 545848844ccb761f2c775b9f3b191351f675b15d Mon Sep 17 00:00:00 2001
From: Song367 <601337784@qq.com>
Date: Tue, 30 Sep 2025 17:32:49 +0800
Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
server.js | 1 -
src/index.html | 2 +-
src/index.js | 12 +++++-------
3 files changed, 6 insertions(+), 9 deletions(-)
diff --git a/server.js b/server.js
index e7a9dfc..9b6702e 100644
--- a/server.js
+++ b/server.js
@@ -9,7 +9,6 @@ const { MessageHistory } = require('./src/message_history.js');
const app = express();
const server = http.createServer(app);
const io = socketIo(server, {
- path: '/emotion-male-app/socket.io',
pingTimeout: 300000, // 60秒超时
pingInterval: 25000, // 25秒心跳间隔
upgradeTimeout: 30000, // 30秒升级超时
diff --git a/src/index.html b/src/index.html
index 310098f..e3eea82 100644
--- a/src/index.html
+++ b/src/index.html
@@ -532,7 +532,7 @@
-
+