mirror of
https://github.com/lush2020/edgetunnel.git
synced 2026-03-23 16:38:34 +08:00
Update worker.js
This commit is contained in:
@@ -32,7 +32,7 @@ export default {
|
||||
*/
|
||||
async fetch(request, env, ctx) {
|
||||
try {
|
||||
const userAgent = request.headers.get('User-Agent');
|
||||
const userAgent = request.headers.get('User-Agent').toLowerCase();
|
||||
userID = env.UUID || userID;
|
||||
proxyIP = env.PROXYIP || proxyIP;
|
||||
socks5Address = env.SOCKS5 || socks5Address;
|
||||
|
||||
Reference in New Issue
Block a user