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