Update _worker.js

This commit is contained in:
CMLiussss
2024-02-09 00:12:27 +08:00
committed by GitHub
parent c750356bde
commit d63c12a401

View File

@@ -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) {