From 0c565ead27ffe500a295e3507373f9c5d74404df Mon Sep 17 00:00:00 2001 From: chicrobot Date: Mon, 24 Nov 2025 02:23:45 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E5=B7=A5=E5=85=B7=E7=AE=B1?= =?UTF-8?q?=E5=8F=8A=E8=B7=B3=E8=BD=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- index.html | 7 +++++++ script.js | 6 ++++++ 2 files changed, 13 insertions(+) diff --git a/index.html b/index.html index 2aebd40..86055a7 100644 --- a/index.html +++ b/index.html @@ -75,6 +75,13 @@ 运行中 访问 +
+
+

百川在线工具箱

+

实用工具集合

+ 运行中 + 访问 +

Grafana

diff --git a/script.js b/script.js index 9795a77..beeabd4 100644 --- a/script.js +++ b/script.js @@ -54,6 +54,7 @@ window.addEventListener('load', function() { const chatUrl = `${window.location.protocol}//${currentHost}/baseTalk`; const cloudreveUrl = `${window.location.protocol}//${currentHost}:5212`; const codeServerUrl = `${window.location.protocol}//${currentHost}:8443`; + const baichuanToolsUrl = `${window.location.protocol}//${currentHost}/xTools`; // 构建博客文章URL,指向8090端口 const blogBaseUrl = `${window.location.protocol}//${currentHost}:8090`; @@ -65,6 +66,7 @@ window.addEventListener('load', function() { const chatLink = document.getElementById('chatLink'); const cloudreveLink = document.getElementById('cloudreveLink'); const codeServerLink = document.getElementById('codeServerLink'); + const baichuanToolsLink = document.getElementById('baichuanToolsLink'); if (portainerLink) { portainerLink.href = portainerUrl; @@ -94,6 +96,10 @@ window.addEventListener('load', function() { codeServerLink.href = codeServerUrl; codeServerLink.target = '_blank'; } + if (baichuanToolsLink) { + baichuanToolsLink.href = baichuanToolsUrl; + baichuanToolsLink.target = '_blank'; + } // 处理博客文章链接 const blogPosts = document.querySelectorAll('.thought-card');