im gonan cry
This commit is contained in:
parent
e798c12146
commit
413e72789f
1 changed files with 1 additions and 1 deletions
2
index.js
2
index.js
|
@ -11,7 +11,7 @@ app.listen(PORT, () => {
|
|||
app.use
|
||||
|
||||
app.get("*", (req, res) => {
|
||||
var IP = req.headers['x-forwarded-for'] || req.connection.remoteAddress
|
||||
var IP = req.ip
|
||||
var IPtext = "This motherfucker's IP is " + IP
|
||||
console.log(IPtext)
|
||||
res.send(IPtext + ", probably!")
|
||||
|
|
Loading…
Reference in a new issue