From 495308cd3535a10af8924c3e852236276919a99e Mon Sep 17 00:00:00 2001 From: CMLiussss <24787744+cmliu@users.noreply.github.com> Date: Sat, 27 Jan 2024 00:59:52 +0800 Subject: [PATCH] Update worker.js --- worker.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/worker.js b/worker.js index e198a7d16..845160ac1 100644 --- a/worker.js +++ b/worker.js @@ -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`;