mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-21 16:13:12 +09:00
Fix incorrect ip detection in create
This commit is contained in:
1 file changed
+1
-1
@@ -624,7 +624,7 @@ async function inquirerMissingArgs(args) {
|
|||||||
} else {
|
} else {
|
||||||
try {
|
try {
|
||||||
let result = await fetch("https://api.ipify.org/");
|
let result = await fetch("https://api.ipify.org/");
|
||||||
myIp = result.body.toString();
|
myIp = await result.text();
|
||||||
} catch (err) { /* ignore */ }
|
} catch (err) { /* ignore */ }
|
||||||
}
|
}
|
||||||
answers = await inquirer.prompt([
|
answers = await inquirer.prompt([
|
||||||
|
|||||||
Reference in new issue
Block a user