From 351e4b949985b65cbd96250d6fa18d7838773634 Mon Sep 17 00:00:00 2001 From: yuetsh <517252939@qq.com> Date: Mon, 26 Oct 2026 19:10:35 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E5=8E=BB=E6=8E=89=20maxkb=20=E8=81=8A?= =?UTF-8?q?=E5=A4=A9=E6=8C=82=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 页面不再加载 maxkb 的嵌入脚本,删除对应的 PUBLIC_MAXKB_URL 配置。 Co-Authored-By: Claude Opus 5.5 --- client/.env.production | 1 - client/.env.staging | 1 - client/index.html | 10 ---------- client/src/env.d.ts | 1 - 4 files changed, 13 deletions(-) diff --git a/client/.env.production b/client/.env.production index b362e32..5e53276 100644 --- a/client/.env.production +++ b/client/.env.production @@ -1,4 +1,3 @@ PUBLIC_WEB_URL=https://web.xuyue.cc PUBLIC_BASE_URL=https://web.xuyue.cc/api -PUBLIC_MAXKB_URL=https://maxkb.xuyue.cc/chat/api/embed?protocol=https&host=maxkb.xuyue.cc&token=df542e305f27dee6 PUBLIC_ICONIFY_URL=https://icon.xuyue.cc \ No newline at end of file diff --git a/client/.env.staging b/client/.env.staging index 2068424..e8ead97 100644 --- a/client/.env.staging +++ b/client/.env.staging @@ -1,4 +1,3 @@ PUBLIC_WEB_URL=http://10.13.114.114:91 PUBLIC_BASE_URL=http://10.13.114.114:91/api -PUBLIC_MAXKB_URL=http://10.13.114.114:92/chat/api/embed?protocol=http&host=10.13.114.114:92&token=df542e305f27dee6 PUBLIC_ICONIFY_URL=http://10.13.114.114:8098 \ No newline at end of file diff --git a/client/index.html b/client/index.html index 4d9cddc..806c2e4 100644 --- a/client/index.html +++ b/client/index.html @@ -7,16 +7,6 @@ 前端开发学习平台 - - <% if (process.env.PUBLIC_MAXKB_URL) { %> - - <% } %>
diff --git a/client/src/env.d.ts b/client/src/env.d.ts index 9b8087e..ffce300 100644 --- a/client/src/env.d.ts +++ b/client/src/env.d.ts @@ -1,7 +1,6 @@ interface ImportMetaEnv { readonly PUBLIC_WEB_URL: string readonly PUBLIC_BASE_URL: string - readonly PUBLIC_MAXKB_URL: string readonly PUBLIC_ICONIFY_URL: string readonly PUBLIC_WS_URL: string }