Skip to content

Commit da1f543

Browse files
committed
feat: 提高base64订阅的兼容性
1 parent 0542c8e commit da1f543

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

_worker.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1717,7 +1717,7 @@ async function 生成配置信息(userID, hostName, sub, UA, RproxyIP, _url, fak
17171717
} else {
17181718
const response = await fetch(url, {
17191719
headers: {
1720-
'User-Agent': UA + atob('IENGLVdvcmtlcnMtZWRnZXR1bm5lbC9jbWxpdQ==')
1720+
'User-Agent': (isBase64 ? 'v2rayN' : UA) + atob('IENGLVdvcmtlcnMtZWRnZXR1bm5lbC9jbWxpdQ==')
17211721
}
17221722
});
17231723
content = await response.text();

wrangler.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name = "v20250719"
1+
name = "v20250723"
22
main = "_worker.js"
3-
compatibility_date = "2025-07-19"
3+
compatibility_date = "2025-07-23"
44
keep_vars = true

0 commit comments

Comments
 (0)