From 004a836a01de24cb201ad2298e1876a0ebc5f96a Mon Sep 17 00:00:00 2001 From: charleswrayjr Date: Tue, 9 Sep 2025 13:51:25 -0500 Subject: [PATCH] Adding disconnect, getStatus, and restart to the vpn.controller.js and associated routes in vpn.routes.js. --- app.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app.js b/app.js index 2a6dca8..2966881 100755 --- 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 ) ); } -- 2.43.0