From 9e07daba0bdde5147bc3ee0dd39af7332a8df5ff Mon Sep 17 00:00:00 2001 From: Simon Detheridge Date: Mon, 11 Feb 2019 11:23:19 +0000 Subject: [PATCH] Merge pull request #1490 from sharelatex/ns-remove-ip-endpoint remove /ip endpoint GitOrigin-RevId: 42ea1ff6db6cba5e74a6e6c133a4d9f2b93d4a2e --- services/web/app/coffee/router.coffee | 7 ------- 1 file changed, 7 deletions(-) diff --git a/services/web/app/coffee/router.coffee b/services/web/app/coffee/router.coffee index 9a8cdc0bee..d99d9b596d 100644 --- a/services/web/app/coffee/router.coffee +++ b/services/web/app/coffee/router.coffee @@ -470,13 +470,6 @@ module.exports = class Router else sendRes 500, "Compiler returned failure #{status}" - webRouter.get "/ip", (req, res, next) -> - res.send({ - ip: req.ip - ips: req.ips - headers: req.headers - }) - webRouter.get "/no-cache", (req, res, next)-> res.header("Cache-Control", "max-age=0") res.sendStatus(404)