From: charleswrayjr Date: Tue, 9 Sep 2025 13:45:29 +0000 (-0500) Subject: Adding available clients to VPN. X-Git-Url: https://git.phasecustomsoft.com/?a=commitdiff_plain;h=e1eebc4b287942c4100fd49ffda56d6f2373109d;p=phs-api.git Adding available clients to VPN. --- diff --git a/src/controllers/vpn.controller.js b/src/controllers/vpn.controller.js index f3e8ba5..ddda58d 100644 --- a/src/controllers/vpn.controller.js +++ b/src/controllers/vpn.controller.js @@ -166,7 +166,7 @@ module.exports = { } console.log(output); const clients = []; - const ccdFiles = output.split('\n').filter(line => line.endsWith('.ccd')); + const ccdFiles = output.split('\n').filter(line => !line.endsWith('.crt')); const crtFiles = output.split('\n').filter(line => line.endsWith('.crt')); // Process .ccd files for static IPs