Skip to content

Commit

Permalink
Disable udp for clash profile
Browse files Browse the repository at this point in the history
  • Loading branch information
Misaka-blog committed Apr 21, 2024
1 parent 05e2513 commit c52e375
Showing 1 changed file with 14 additions and 20 deletions.
34 changes: 14 additions & 20 deletions _worker.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export default {
*/
async fetch(request, env, ctx) {
try {
userID = userID || env.UUID;
userID = userID;
proxyIP = env.PROXYIP || proxyIP;
dohURL = env.DNS_RESOLVER_URL || dohURL;
nodeId = env.NODE_ID || nodeId;
Expand Down Expand Up @@ -879,10 +879,9 @@ proxies:
server: ${bestCFIP}
port: 80
uuid: ${userID}
udp: true
udp: false
tls: false
network: ws
servername: ${hostName}
ws-opts:
path: "/?ed=2048"
headers:
Expand All @@ -893,10 +892,9 @@ proxies:
server: ${bestCFIP}
port: 8080
uuid: ${userID}
udp: true
udp: false
tls: false
network: ws
servername: ${hostName}
ws-opts:
path: "/?ed=2048"
headers:
Expand All @@ -907,10 +905,9 @@ proxies:
server: ${bestCFIP}
port: 8880
uuid: ${userID}
udp: true
udp: false
tls: false
network: ws
servername: ${hostName}
ws-opts:
path: "/?ed=2048"
headers:
Expand All @@ -921,10 +918,9 @@ proxies:
server: ${bestCFIP}
port: 2052
uuid: ${userID}
udp: true
udp: false
tls: false
network: ws
servername: ${hostName}
ws-opts:
path: "/?ed=2048"
headers:
Expand All @@ -935,10 +931,9 @@ proxies:
server: ${bestCFIP}
port: 2082
uuid: ${userID}
udp: true
udp: false
tls: false
network: ws
servername: ${hostName}
ws-opts:
path: "/?ed=2048"
headers:
Expand All @@ -949,10 +944,9 @@ proxies:
server: ${bestCFIP}
port: 2086
uuid: ${userID}
udp: true
udp: false
tls: false
network: ws
servername: ${hostName}
ws-opts:
path: "/?ed=2048"
headers:
Expand All @@ -963,7 +957,7 @@ proxies:
server: ${bestCFIP}
port: 2095
uuid: ${userID}
udp: true
udp: false
tls: false
network: ws
servername: ${hostName}
Expand All @@ -977,7 +971,7 @@ proxies:
server: ${bestCFIP}
port: 443
uuid: ${userID}
udp: true
udp: false
tls: true
network: ws
servername: ${hostName}
Expand All @@ -991,7 +985,7 @@ proxies:
server: ${bestCFIP}
port: 2053
uuid: ${userID}
udp: true
udp: false
tls: true
network: ws
servername: ${hostName}
Expand All @@ -1005,7 +999,7 @@ proxies:
server: ${bestCFIP}
port: 2083
uuid: ${userID}
udp: true
udp: false
tls: true
network: ws
servername: ${hostName}
Expand All @@ -1019,7 +1013,7 @@ proxies:
server: ${bestCFIP}
port: 2087
uuid: ${userID}
udp: true
udp: false
tls: true
network: ws
servername: ${hostName}
Expand All @@ -1033,7 +1027,7 @@ proxies:
server: ${bestCFIP}
port: 2096
uuid: ${userID}
udp: true
udp: false
tls: true
network: ws
servername: ${hostName}
Expand All @@ -1047,7 +1041,7 @@ proxies:
server: ${bestCFIP}
port: 8443
uuid: ${userID}
udp: true
udp: false
tls: true
network: ws
servername: ${hostName}
Expand Down

0 comments on commit c52e375

Please sign in to comment.