From d63c12a40168aa60de1179059c0579786da5831d Mon Sep 17 00:00:00 2001 From: CMLiussss <24787744+cmliu@users.noreply.github.com> Date: Fri, 9 Feb 2024 00:12:27 +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 d354137..b3dc8c4 100644 --- a/_worker.js +++ b/_worker.js @@ -71,7 +71,7 @@ export default { return new Response('Not found', { status: 404 }); } } else { - if (new RegExp('/proxyip=', 'i').test(url.pathname)) proxyIP = url.pathname.split("=")[1]; + if (new RegExp('/proxyip', 'i').test(url.pathname)) proxyIP = url.pathname.split("=")[1] || url.pathname.split("proxyip.")[1]; return await vlessOverWSHandler(request); } } catch (err) {