Skip to content

Commit

Permalink
Update worker.js
Browse files Browse the repository at this point in the history
  • Loading branch information
cmliu authored Jan 26, 2024
1 parent c8fef7b commit 495308c
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 @@ -253,7 +253,7 @@ addEventListener('fetch', event => {
}
}

if (userAgent.includes('telegram') || userAgent.includes('twitter') || userAgent.includes('miaoko') || userAgent.includes('subconverter')) {
if (userAgent.includes('telegram') || userAgent.includes('twitter') || userAgent.includes('miaoko')) {
return new Response('Hello World!');
} else if (userAgent.includes('clash')) {
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 495308c

Please sign in to comment.