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 8, 2024
1 parent 53a7122 commit f9b08af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion _worker.js
Original file line number Diff line number Diff line change
Expand Up @@ -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`;

Expand Down

0 comments on commit f9b08af

Please sign in to comment.