]> 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 19:05:00 +0000 (14:05 -0500)
committercharleswrayjr <charleswrayjr@gmail.com>
Tue, 9 Sep 2025 19:05:00 +0000 (14:05 -0500)
src/controllers/vpn.controller.js

index fd0756f76911f2b940a567ec49100323b780338d..1a33f0e1cab8bd79bfa78ccecc0dae71c44ad23d 100644 (file)
@@ -317,6 +317,7 @@ module.exports = {
     }
   },
   getStatus: async ( req, res, next ) => {
+    logger.warn( 'Getting VPN status');
     try {
       const conn = new Client();
       conn.on('ready', () => {