mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-12 15:04:52 +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 {
|
||||
try {
|
||||
let result = await fetch("https://api.ipify.org/");
|
||||
myIp = result.body.toString();
|
||||
myIp = await result.text();
|
||||
} catch (err) { /* ignore */ }
|
||||
}
|
||||
answers = await inquirer.prompt([
|
||||
|
||||
Reference in new issue
Block a user