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