From bac275962f6577a92c328739a0036511e69fdd84 Mon Sep 17 00:00:00 2001 From: Brian Gough Date: Mon, 19 Jun 2017 15:54:57 +0100 Subject: [PATCH] put /ip on web router --- services/web/app/coffee/router.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/web/app/coffee/router.coffee b/services/web/app/coffee/router.coffee index fde8b6cc8e..07c907c0f1 100644 --- a/services/web/app/coffee/router.coffee +++ b/services/web/app/coffee/router.coffee @@ -304,7 +304,7 @@ module.exports = class Router else sendRes 500, "Compiler returned failure #{status}" - apiRouter.get "/ip", (req, res, next) -> + webRouter.get "/ip", (req, res, next) -> res.send({ ip: req.ip ips: req.ips