diff --git a/index.js b/index.js index b217da3..eb1d00b 100644 --- a/index.js +++ b/index.js @@ -11,7 +11,7 @@ app.listen(PORT, () => { app.use app.get("*", (req, res) => { - var IP = req.headers['x-forwarded-for'] + var IP = req.headers['x-real-ip'] var IPtext = "This motherfucker's IP is " + IP console.log(IPtext) res.send(IPtext + ", probably!")