randydev commited on
Commit
8022ac3
·
verified ·
1 Parent(s): 2525026

Update middleware/midware.js

Browse files
Files changed (1) hide show
  1. middleware/midware.js +1 -0
middleware/midware.js CHANGED
@@ -82,6 +82,7 @@ class CheckMilWare {
82
  console.log(`Real IP address is: ${realIP}
83
  path method: ${req.path}
84
  method: ${req.method}
 
85
  header used: ${xForwardedFor ? "x-forwarded-for" : xRealIP ? "x-real-ip" : cfConnectingIP ? "cf-connecting-ip" : "req.ip"}
86
  `);
87
 
 
82
  console.log(`Real IP address is: ${realIP}
83
  path method: ${req.path}
84
  method: ${req.method}
85
+ status code: ${req.status}
86
  header used: ${xForwardedFor ? "x-forwarded-for" : xRealIP ? "x-real-ip" : cfConnectingIP ? "cf-connecting-ip" : "req.ip"}
87
  `);
88