Skip to content

Commit

Permalink
Bug fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
bia-pain-bache committed Sep 3, 2024
1 parent 6e01612 commit 0b105a6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions _worker.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ let proxyIP = proxyIPs[Math.floor(Math.random() * proxyIPs.length)];
let dohURL = 'https://cloudflare-dns.com/dns-query';
let trojanPwd = "bpb-trojan";
let sha224Password;
let panelVersion = '2.5.3';
let panelVersion = '2.5.4';

if (!isValidUUID(userID)) {
throw new Error('uuid is not valid');
Expand Down Expand Up @@ -3686,7 +3686,7 @@ async function getClashConfig (env, hostName) {
"fake-ip-range": "198.18.0.1/16",
"hosts": hosts,
"default-nameserver": [
localDNS,
localDNS === 'localhost' ? '8.8.8.8' : localDNS,
"223.5.5.5"
],
"nameserver": [
Expand All @@ -3697,7 +3697,7 @@ async function getClashConfig (env, hostName) {
"https://8.8.4.4/dns-query"
],
"proxy-server-nameserver": [
localDNS,
localDNS === 'localhost' ? '8.8.8.8' : localDNS,
"223.5.5.5"
],
"fallback-filter": {
Expand Down

0 comments on commit 0b105a6

Please sign in to comment.