mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-01-24 07:16:55 -06:00
Added formatting to ping options
Co-authored-by: Adam Stachowicz <saibamenppl@gmail.com>
This commit is contained in:
parent
a54e58b4d6
commit
b5f04573f2
@ -97,7 +97,7 @@ exports.pingAsync = function (hostname, ipv6 = false, size = 56) {
|
|||||||
return new Promise((resolve, reject) => {
|
return new Promise((resolve, reject) => {
|
||||||
const ping = new Ping(hostname, {
|
const ping = new Ping(hostname, {
|
||||||
ipv6,
|
ipv6,
|
||||||
size
|
size,
|
||||||
});
|
});
|
||||||
|
|
||||||
ping.send(function (err, ms, stdout) {
|
ping.send(function (err, ms, stdout) {
|
||||||
|
Loading…
Reference in New Issue
Block a user