mirror of
https://github.com/lush2020/edgetunnel.git
synced 2026-03-21 17:12:33 +08:00
Update _worker.js
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user