Fixes to getServerIPv6()
This commit is contained in:
@@ -42,7 +42,7 @@ async function getServerIPv4(config) {
|
||||
async function getServerIPv6(config) {
|
||||
assert.strictEqual(typeof config, 'object');
|
||||
|
||||
if (process.env.BOX_ENV === 'test') return '127.0.0.1';
|
||||
if (process.env.BOX_ENV === 'test') return '::1';
|
||||
|
||||
return await promiseRetry({ times: 10, interval: 5000, debug }, async () => {
|
||||
debug('getServerIPv6: getting server IP');
|
||||
|
||||
Reference in New Issue
Block a user