mirror of
https://github.com/lush2020/edgetunnel.git
synced 2026-03-21 17:12:33 +08:00
Update _worker.js
This commit is contained in:
92
_worker.js
92
_worker.js
@@ -917,58 +917,58 @@ async function getVLESSConfig(userID, hostName, sub, UA, RproxyIP, _url) {
|
||||
if ((!sub || sub === '') && !subParams.some(_searchParams => _url.searchParams.has(_searchParams))) {
|
||||
|
||||
return `
|
||||
################################################################
|
||||
v2ray
|
||||
---------------------------------------------------------------
|
||||
${v2ray}
|
||||
---------------------------------------------------------------
|
||||
################################################################
|
||||
clash-meta
|
||||
---------------------------------------------------------------
|
||||
${clash}
|
||||
---------------------------------------------------------------
|
||||
################################################################
|
||||
`;
|
||||
################################################################
|
||||
v2ray
|
||||
---------------------------------------------------------------
|
||||
${v2ray}
|
||||
---------------------------------------------------------------
|
||||
################################################################
|
||||
clash-meta
|
||||
---------------------------------------------------------------
|
||||
${clash}
|
||||
---------------------------------------------------------------
|
||||
################################################################
|
||||
`;
|
||||
} else if (sub && userAgent.includes('mozilla') && !subParams.some(_searchParams => _url.searchParams.has(_searchParams))) {
|
||||
|
||||
return `
|
||||
################################################################
|
||||
Subscribe / sub 订阅地址, 支持 Base64、clash-meta、sing-box 订阅格式, 您的订阅内容由 ${sub} 提供维护支持, 自动获取ProxyIP: ${RproxyIP}.
|
||||
---------------------------------------------------------------
|
||||
快速自适应订阅地址:
|
||||
https://${hostName}/${userID}
|
||||
################################################################
|
||||
Subscribe / sub 订阅地址, 支持 Base64、clash-meta、sing-box 订阅格式, 您的订阅内容由 ${sub} 提供维护支持, 自动获取ProxyIP: ${RproxyIP}.
|
||||
---------------------------------------------------------------
|
||||
快速自适应订阅地址:
|
||||
https://${hostName}/${userID}
|
||||
|
||||
Base64订阅地址:
|
||||
https://${hostName}/${userID}?sub
|
||||
https://${hostName}/${userID}?b64
|
||||
https://${hostName}/${userID}?base64
|
||||
Base64订阅地址:
|
||||
https://${hostName}/${userID}?sub
|
||||
https://${hostName}/${userID}?b64
|
||||
https://${hostName}/${userID}?base64
|
||||
|
||||
clash订阅地址:
|
||||
https://${hostName}/${userID}?clash
|
||||
clash订阅地址:
|
||||
https://${hostName}/${userID}?clash
|
||||
|
||||
singbox订阅地址:
|
||||
https://${hostName}/${userID}?sb
|
||||
https://${hostName}/${userID}?singbox
|
||||
---------------------------------------------------------------
|
||||
################################################################
|
||||
v2ray
|
||||
---------------------------------------------------------------
|
||||
${v2ray}
|
||||
---------------------------------------------------------------
|
||||
################################################################
|
||||
clash-meta
|
||||
---------------------------------------------------------------
|
||||
${clash}
|
||||
---------------------------------------------------------------
|
||||
################################################################
|
||||
telegram 交流群 技术大佬~在线发牌!
|
||||
https://t.me/CMLiussss
|
||||
---------------------------------------------------------------
|
||||
github 项目地址 Star!Star!Star!!!
|
||||
https://github.com/cmliu/edgetunnel
|
||||
---------------------------------------------------------------
|
||||
################################################################
|
||||
`;
|
||||
singbox订阅地址:
|
||||
https://${hostName}/${userID}?sb
|
||||
https://${hostName}/${userID}?singbox
|
||||
---------------------------------------------------------------
|
||||
################################################################
|
||||
v2ray
|
||||
---------------------------------------------------------------
|
||||
${v2ray}
|
||||
---------------------------------------------------------------
|
||||
################################################################
|
||||
clash-meta
|
||||
---------------------------------------------------------------
|
||||
${clash}
|
||||
---------------------------------------------------------------
|
||||
################################################################
|
||||
telegram 交流群 技术大佬~在线发牌!
|
||||
https://t.me/CMLiussss
|
||||
---------------------------------------------------------------
|
||||
github 项目地址 Star!Star!Star!!!
|
||||
https://github.com/cmliu/edgetunnel
|
||||
---------------------------------------------------------------
|
||||
################################################################
|
||||
`;
|
||||
} else {
|
||||
if (typeof fetch != 'function') {
|
||||
return 'Error: fetch is not available in this environment.';
|
||||
|
||||
Reference in New Issue
Block a user