put /ip on web router

This commit is contained in:
Brian Gough 2017-06-19 15:54:57 +01:00
parent d32a3fbaf5
commit bac275962f

View file

@ -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