Update middleware/midware.js
Browse files- middleware/midware.js +1 -0
middleware/midware.js
CHANGED
@@ -35,6 +35,7 @@ class CheckMilWare {
|
|
35 |
}
|
36 |
console.log(`Real IP address is: ${realIP}
|
37 |
path method: ${req.path}
|
|
|
38 |
header used: ${xForwardedFor ? "x-forwarded-for" : xRealIP ? "x-real-ip" : cfConnectingIP ? "cf-connecting-ip" : "req.ip"}
|
39 |
`);
|
40 |
|
|
|
35 |
}
|
36 |
console.log(`Real IP address is: ${realIP}
|
37 |
path method: ${req.path}
|
38 |
+
method: ${req.method}
|
39 |
header used: ${xForwardedFor ? "x-forwarded-for" : xRealIP ? "x-real-ip" : cfConnectingIP ? "cf-connecting-ip" : "req.ip"}
|
40 |
`);
|
41 |
|