]> PHS Git Server - phs-api.git/commitdiff
Adding more logging to disconnect method.
authorcharleswrayjr <charleswrayjr@gmail.com>
Wed, 10 Sep 2025 04:01:55 +0000 (23:01 -0500)
committercharleswrayjr <charleswrayjr@gmail.com>
Wed, 10 Sep 2025 04:01:55 +0000 (23:01 -0500)
app.js

diff --git a/app.js b/app.js
index 5c3d1bf8cc903dd4082e7485a3b02292bb310238..97c3ffcf82113465ba51fe4c3c561d5045715f25 100755 (executable)
--- a/app.js
+++ b/app.js
@@ -163,6 +163,8 @@ app.use( function ( req, res, next ) {
     logger.warn(req.originalUrl);
     logger.warn(req.headers['x-forwarded-for']);
     logger.warn(req.headers['X-Real-IP']);
+    logger.warn(req.headers['x-real-ip']);
+    logger.warn(req.headers);
     next( createError( 404 ) );
   }