From f0ea308d54cb250dd280cc1e82eacc8bf6eb6011 Mon Sep 17 00:00:00 2001 From: CMLiussss <24787744+cmliu@users.noreply.github.com> Date: Tue, 30 Apr 2024 05:45:38 +0800 Subject: [PATCH] Update _worker.js --- _worker.js | 92 +++++++++++++++++++++++++++--------------------------- 1 file changed, 46 insertions(+), 46 deletions(-) diff --git a/_worker.js b/_worker.js index fd6cee4..2365b7a 100644 --- a/_worker.js +++ b/_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.';