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');