mirror of
https://github.com/lush2020/CF-Workers-SUB.git
synced 2026-03-21 02:52:38 +08:00
Update _worker.js
This commit is contained in:
@@ -94,7 +94,7 @@ export default {
|
||||
await sendMessage("#获取订阅", request.headers.get('CF-Connecting-IP'), `UA: ${userAgentHeader}</tg-spoiler>\n域名: ${url.hostname}\n<tg-spoiler>入口: ${url.pathname + url.search}</tg-spoiler>`);
|
||||
}
|
||||
|
||||
if (userAgent.includes('clash')) {
|
||||
if (userAgent.includes('clash') && !userAgent.includes('nekobox')) {
|
||||
|
||||
const subconverterUrl = `https://${subconverter}/sub?target=clash&url=${encodeURIComponent(request.url)}&insert=false&config=${encodeURIComponent(subconfig)}&emoji=true&list=false&tfo=false&scv=false&fdn=false&sort=false&new_name=true`;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user