Use ipv4.api.cloudron.io endpoint for IPv4 detection
This commit is contained in:
@@ -20,7 +20,7 @@ async function getServerIp(config) {
|
||||
return await promiseRetry({ times: 10, interval: 5000, debug }, async () => {
|
||||
debug('getServerIp: getting server IP');
|
||||
|
||||
const [networkError, response] = await safe(superagent.get('https://api.cloudron.io/api/v1/helper/public_ip')
|
||||
const [networkError, response] = await safe(superagent.get('https://ipv4.api.cloudron.io/api/v1/helper/public_ip')
|
||||
.timeout(30 * 1000)
|
||||
.ok(() => true));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user