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.use
|
||||||
|
|
||||||
app.get("*", (req, res) => {
|
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
|
var IPtext = "This motherfucker's IP is " + IP
|
||||||
console.log(IPtext)
|
console.log(IPtext)
|
||||||
res.send(IPtext + ", probably!")
|
res.send(IPtext + ", probably!")
|
||||||
|
|
Loading…
Reference in a new issue