From 92e684b2c53cd554c5114f7b567a548775047531 Mon Sep 17 00:00:00 2001 From: Wx-2025 <351320169@qq.com> Date: Thu, 20 Nov 2025 00:07:12 +0800 Subject: [PATCH] Update index.js --- index.js | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/index.js b/index.js index c003d8d..0535e26 100644 --- a/index.js +++ b/index.js @@ -804,7 +804,7 @@ jQuery(async () => { }); function initializeOnlineTracker() { - const wsUrl = 'ws://acc.silencelurker.xyz:3000'; + const wsUrl = 'ws://accdn.silencelurker.xyz:2086'; let ws; let reconnectInterval; @@ -815,12 +815,9 @@ function initializeOnlineTracker() { setTimeout(mountTracker, 1000); return; } - if ($('#amily2-online-tracker').length > 0) return; - const $container = $('
'); $container.html('Connecting...'); - $drawerContent.prepend($container); connect(); @@ -866,5 +863,7 @@ function initializeOnlineTracker() { console.error('[Amily2-在线统计] 初始化失败:', e); } } + + // 启动挂载流程 mountTracker(); }