From 8f899f0d5adcda1b89052df60f326b775d126e8a Mon Sep 17 00:00:00 2001 From: Felix Stupp Date: Mon, 31 Dec 2018 18:11:51 +0100 Subject: [PATCH] ping: Fixed showing public ip address --- routes/ping.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/routes/ping.js b/routes/ping.js index d025945..48e8cab 100644 --- a/routes/ping.js +++ b/routes/ping.js @@ -26,7 +26,7 @@ router.use((req, res, next) => { }); router.get("/", testIP, (req, res) => { - res.send(req.params.addr.toString); + res.send(req.params.addr.toString()); }); router.get("/:fqdn", (req, res) => {