From: charleswrayjr Date: Tue, 9 Sep 2025 13:42:50 +0000 (-0500) Subject: Adding available clients to VPN. X-Git-Url: https://git.phasecustomsoft.com/static/css/%7B?a=commitdiff_plain;h=b4fb123aabaf367fa4b70fd05df58bd2733fa98f;p=phs-api.git Adding available clients to VPN. --- diff --git a/src/controllers/vpn.controller.js b/src/controllers/vpn.controller.js index a4d755a..f3e8ba5 100644 --- a/src/controllers/vpn.controller.js +++ b/src/controllers/vpn.controller.js @@ -164,6 +164,7 @@ module.exports = { if (code !== 0) { return next(new createError(500, `Command failed: ${output}`)); } + console.log(output); const clients = []; const ccdFiles = output.split('\n').filter(line => line.endsWith('.ccd')); const crtFiles = output.split('\n').filter(line => line.endsWith('.crt'));