]> PHS Git Server - phs-api.git/commitdiff
Adding available clients to VPN.
authorcharleswrayjr <charleswrayjr@gmail.com>
Tue, 9 Sep 2025 13:42:50 +0000 (08:42 -0500)
committercharleswrayjr <charleswrayjr@gmail.com>
Tue, 9 Sep 2025 13:42:50 +0000 (08:42 -0500)
src/controllers/vpn.controller.js

index a4d755a91b5ce827c27deeee7a0b7c7d2e3be0e8..f3e8ba5554688bd12b8b0cfc86fb3918c2000c1b 100644 (file)
@@ -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'));