mirror of
https://github.com/overleaf/overleaf.git
synced 2025-01-31 14:31:48 +00:00
put /ip on web router
This commit is contained in:
parent
d32a3fbaf5
commit
bac275962f
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue