Skip to content

Commit

Permalink
Update _worker.js
Browse files Browse the repository at this point in the history
  • Loading branch information
1purpleboi authored Dec 19, 2024
1 parent 56281b5 commit a7624b0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions _worker.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@
import { connect } from 'cloudflare:sockets';

// 建议修改为自己的 UUID
let userID = 'd342d11e-d424-4583-b36e-524ab1f0afa4';
let userID = '931c6c61-8d8f-4d2a-ad71-8d546b808274';

// 生成配置文件的 CF 优选 IP
const bestCFIP = "www.gov.se"
//const bestCFIP = "www.gov.se"

// 用于 CF 网站的代理 IP
const proxyIPs = ["workers.cloudflare.cyou"]; // const proxyIPs = ['cdn-all.xn--b6gac.eu.org', 'cdn.xn--b6gac.eu.org', 'cdn-b100.xn--b6gac.eu.org', 'edgetunnel.anycast.eu.org', 'cdn.anycast.eu.org'];
const proxyIPs = ["103.168.146.169"]; // const proxyIPs = ['cdn-all.xn--b6gac.eu.org', 'cdn.xn--b6gac.eu.org', 'cdn-b100.xn--b6gac.eu.org', 'edgetunnel.anycast.eu.org', 'cdn.anycast.eu.org'];
let proxyIP = proxyIPs[Math.floor(Math.random() * proxyIPs.length)];

let dohURL = 'https://sky.rethinkdns.com/1:-Pf_____9_8A_AMAIgE8kMABVDDmKOHTAKg='; // https://cloudflare-dns.com/dns-query or https://dns.google/dns-query
Expand Down Expand Up @@ -1587,4 +1587,4 @@ function getSingConfig(userID, hostName) {
"detour": "direct"
}
}`;
}
}

0 comments on commit a7624b0

Please sign in to comment.