ping: Added missing comma for array

master release-2019-10-06-11-47
Felix Stupp 5 years ago
parent d5cefd6edc
commit 2abbd05bf6
Signed by: zocker
GPG Key ID: 93E1BD26F6B02FB7

@ -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));
});
});

Loading…
Cancel
Save