From: charleswrayjr Date: Tue, 9 Sep 2025 19:05:00 +0000 (-0500) Subject: Adding disconnect, getStatus, and restart to the vpn.controller.js and associated... X-Git-Url: https://git.phasecustomsoft.com/static/gitweb.css?a=commitdiff_plain;h=9ed53787b57f9072ea7d239b2bf229a93e336363;p=phs-api.git Adding disconnect, getStatus, and restart to the vpn.controller.js and associated routes in vpn.routes.js. --- diff --git a/src/controllers/vpn.controller.js b/src/controllers/vpn.controller.js index fd0756f..1a33f0e 100644 --- a/src/controllers/vpn.controller.js +++ b/src/controllers/vpn.controller.js @@ -317,6 +317,7 @@ module.exports = { } }, getStatus: async ( req, res, next ) => { + logger.warn( 'Getting VPN status'); try { const conn = new Client(); conn.on('ready', () => {