Skip to content

Commit

Permalink
Update _worker.js
Browse files Browse the repository at this point in the history
  • Loading branch information
cmliu committed Apr 29, 2024
1 parent fa055c7 commit f0ea308
Showing 1 changed file with 49 additions and 49 deletions.
98 changes: 49 additions & 49 deletions _worker.js
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Base64订阅地址:
https://${hostName}/${userID}?sub
https://${hostName}/${userID}?b64
https://${hostName}/${userID}?base64
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
---------------------------------------------------------------
################################################################
`;
################################################################
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
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
---------------------------------------------------------------
################################################################
`;
} else {
if (typeof fetch != 'function') {
return 'Error: fetch is not available in this environment.';
Expand Down

0 comments on commit f0ea308

Please sign in to comment.