From: charleswrayjr Date: Tue, 9 Sep 2025 18:51:25 +0000 (-0500) Subject: Adding disconnect, getStatus, and restart to the vpn.controller.js and associated... X-Git-Url: https://git.phasecustomsoft.com/static/git-favicon.png?a=commitdiff_plain;h=004a836a01de24cb201ad2298e1876a0ebc5f96a;p=phs-api.git Adding disconnect, getStatus, and restart to the vpn.controller.js and associated routes in vpn.routes.js. --- 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 ) ); }