Skip to content

Commit a1916ba

Browse files
authored
Update brook.js
1 parent fb65d13 commit a1916ba

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

brook.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,8 @@ var i18n = {
8080
var language = "";
8181
var lang = (s) => (i18n[s] ? i18n[s][language] ?? s : s);
8282

83-
var ip4 = (await $`curl -s -4 http3.ooo`.text().catch((e) => "")).trim();
84-
var ip6 = (await $`curl -s -6 http3.ooo`.text().catch((e) => "")).trim();
83+
var ip4 = (await $`curl -s -4 https://ipinfo.io/ip`.text().catch((e) => "")).trim();
84+
var ip6 = (await $`curl -s -6 https://v6.ipinfo.io/ip`.text().catch((e) => "")).trim();
8585
if (!ip4) {
8686
console.log("Can not find your server public IPv4");
8787
process.exit(1);

0 commit comments

Comments
 (0)