mirror of
https://github.com/louislam/uptime-kuma.git
synced 2024-11-30 18:24:03 +00:00
Added formatting to ping options
Co-authored-by: Adam Stachowicz <saibamenppl@gmail.com>
This commit is contained in:
parent
a54e58b4d6
commit
b5f04573f2
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue