randydev commited on
Commit
49284c1
·
verified ·
1 Parent(s): eec3e1c

Update middleware/midware.js

Browse files
Files changed (1) hide show
  1. 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