mirror of
https://github.com/louislam/uptime-kuma.git
synced 2024-12-27 14:39:51 -08: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) => {
|
||||
const ping = new Ping(hostname, {
|
||||
ipv6,
|
||||
size
|
||||
size,
|
||||
});
|
||||
|
||||
ping.send(function (err, ms, stdout) {
|
||||
|
|
Loading…
Reference in a new issue