]> PHS Git Server - phs-api.git/commitdiff
Adding disconnect, getStatus, and restart to the vpn.controller.js and associated...
authorcharleswrayjr <charleswrayjr@gmail.com>
Tue, 9 Sep 2025 18:51:25 +0000 (13:51 -0500)
committercharleswrayjr <charleswrayjr@gmail.com>
Tue, 9 Sep 2025 18:51:25 +0000 (13:51 -0500)
app.js

diff --git a/app.js b/app.js
index 2a6dca8065fdee51f2b77f248df7da52e0f67553..2966881733d987292a1fbc391409e89375850fb3 100755 (executable)
--- a/app.js
+++ b/app.js
@@ -160,8 +160,8 @@ process.on('unhandledRejection', (err) => {
 app.use( function ( req, res, next ) {
   if (req.url === '/.well-known/appspecific/com.chrome.devtools.json' ) next();
   else {
-    logger.debug(req.originalUrl);
-    logger.debug(req.headers['x-forwarded-for']);
+    logger.warn(req.originalUrl);
+    logger.warn(req.headers['x-forwarded-for']);
     next( createError( 404 ) );
   }