From da1f5436930543aabb469db38bfa6c987d8ded9c Mon Sep 17 00:00:00 2001 From: cmliu Date: Wed, 23 Jul 2025 01:50:29 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=8F=90=E9=AB=98base64=E8=AE=A2?= =?UTF-8?q?=E9=98=85=E7=9A=84=E5=85=BC=E5=AE=B9=E6=80=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- _worker.js | 2 +- wrangler.toml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/_worker.js b/_worker.js index 008f19b..e11b525 100644 --- a/_worker.js +++ b/_worker.js @@ -1717,7 +1717,7 @@ async function 生成配置信息(userID, hostName, sub, UA, RproxyIP, _url, fak } else { const response = await fetch(url, { headers: { - 'User-Agent': UA + atob('IENGLVdvcmtlcnMtZWRnZXR1bm5lbC9jbWxpdQ==') + 'User-Agent': (isBase64 ? 'v2rayN' : UA) + atob('IENGLVdvcmtlcnMtZWRnZXR1bm5lbC9jbWxpdQ==') } }); content = await response.text(); diff --git a/wrangler.toml b/wrangler.toml index c7a1b63..41de218 100644 --- a/wrangler.toml +++ b/wrangler.toml @@ -1,4 +1,4 @@ -name = "v20250719" +name = "v20250723" main = "_worker.js" -compatibility_date = "2025-07-19" +compatibility_date = "2025-07-23" keep_vars = true \ No newline at end of file