From cadf6761ec09a3b7eb78eb8c49afa9d31d37bafa Mon Sep 17 00:00:00 2001 From: cmliu Date: Tue, 9 Sep 2025 18:04:52 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E7=BB=9F=E4=B8=80=E7=94=A8=E6=88=B7ID?= =?UTF-8?q?=E5=A4=84=E7=90=86=E6=96=B9=E5=BC=8F=E4=B8=BA=E5=B0=8F=E5=86=99?= =?UTF-8?q?=E5=B9=B6=E4=BC=98=E5=8C=96HTML=E7=BB=93=E6=9E=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 2 +- _worker.js | 20 ++++++++++++++------ 2 files changed, 15 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 2ff4d95..bea8630 100644 --- a/README.md +++ b/README.md @@ -272,7 +272,7 @@ ### 💖 赞助支持 - 提供云服务器维持[订阅转换服务](https://sub.cmliussss.net/) - [NodeLoc](https://www.nodeloc.com/) - [Alice](https://url.cmliussss.com/alice) -- [ZMTO(VTEXS)](https://zmto.com/?affid=1532) + ### 🛠 开源代码引用 - [zizifn/edgetunnel](https://github.com/zizifn/edgetunnel) - [3Kmfi6HP/EDtunnel](https://github.com/6Kmfi6HP/EDtunnel) diff --git a/_worker.js b/_worker.js index a72297a..11234c7 100644 --- a/_worker.js +++ b/_worker.js @@ -5242,14 +5242,14 @@ async function config_Json(userID, hostName, sub, UA, RproxyIP, _url, fakeUserID KEY: (uuid != userID) ? { DynamicUUID: true, TOKEN: uuid || null, - UUID: userID || null, + UUID: userID.toLowerCase() || null, UUIDLow: userIDLow || null, TIME: 有效时间 || null, UPTIME: 更新时间 || null, fakeUserID: fakeUserID || null, } : { DynamicUUID: false, - UUID: userID || null, + UUID: userID.toLowerCase() || null, fakeUserID: fakeUserID || null, }, SCV: SCV @@ -5695,10 +5695,15 @@ function config_Html(token = "test", proxyhost = "") { border-bottom: 1px solid var(--border-color); display: flex; align-items: center; - gap: 12px; justify-content: space-between; } + .section-title { + display: flex; + align-items: center; + gap: 12px; + } + .advanced-settings-btn { background: var(--primary-color); color: white; @@ -6351,8 +6356,10 @@ function config_Html(token = "test", proxyhost = "") {
- 📋 - 订阅链接 +
+ 📋 + 订阅链接 +
@@ -6551,7 +6558,8 @@ function config_Html(token = "test", proxyhost = "") { function renderSubscriptionLinks() { const container = document.getElementById('subscriptionLinks'); const host = configData.config.HOST; - const uuid = configData.config.KEY.UUID; + // 根据DynamicUUID决定使用TOKEN还是UUID + const uuid = configData.config.KEY.DynamicUUID ? configData.config.KEY.TOKEN : configData.config.KEY.UUID; const subscriptions = [ { name: '自适应订阅', suffix: '?sub', primary: true },