From e1eebc4b287942c4100fd49ffda56d6f2373109d Mon Sep 17 00:00:00 2001 From: charleswrayjr Date: Tue, 9 Sep 2025 08:45:29 -0500 Subject: [PATCH] Adding available clients to VPN. --- src/controllers/vpn.controller.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.43.0