ASDA
This commit is contained in:
parent
61f97a4fa5
commit
b22f916cd7
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']
|
var IP = req.headers['x-real-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