From 2abbd05bf6838c020e31d55443f911b57cfd7896 Mon Sep 17 00:00:00 2001 From: Felix Stupp Date: Sun, 6 Oct 2019 11:47:11 +0200 Subject: [PATCH] ping: Added missing comma for array --- routes/ping.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/routes/ping.js b/routes/ping.js index bca28bc..9e9c79d 100644 --- a/routes/ping.js +++ b/routes/ping.js @@ -35,9 +35,9 @@ router.get("/:fqdn", (req, res) => { if (!d) return res.status(404).send("Unknown FQDN"); res.send([ d.ipv4 ? d.ipv4 : "0.0.0.0", - d.ipv4LastPing + d.ipv4LastPing, d.ipv6 ? d.ipv6 : "::", - d.ipv6LastPing + d.ipv6LastPing, ].reduce((a, b) => a + "\n" + b)); }); });