fix(core): update
This commit is contained in:
parent
d8f409c191
commit
28d99ecb77
@ -3,6 +3,6 @@
|
|||||||
*/
|
*/
|
||||||
export const commitinfo = {
|
export const commitinfo = {
|
||||||
name: '@pushrocks/smartnetwork',
|
name: '@pushrocks/smartnetwork',
|
||||||
version: '3.0.1',
|
version: '3.0.2',
|
||||||
description: 'network diagnostics'
|
description: 'network diagnostics'
|
||||||
}
|
}
|
||||||
|
@ -123,10 +123,14 @@ export class SmartNetwork {
|
|||||||
v4: await plugins.publicIp.publicIpv4({
|
v4: await plugins.publicIp.publicIpv4({
|
||||||
timeout: 1000,
|
timeout: 1000,
|
||||||
onlyHttps: true,
|
onlyHttps: true,
|
||||||
|
}).catch(async (err) => {
|
||||||
|
return null
|
||||||
}),
|
}),
|
||||||
v6: await plugins.publicIp.publicIpv6({
|
v6: await plugins.publicIp.publicIpv6({
|
||||||
timeout: 1000,
|
timeout: 1000,
|
||||||
onlyHttps: true,
|
onlyHttps: true,
|
||||||
|
}).catch(async (err) => {
|
||||||
|
return null
|
||||||
})
|
})
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user