]> PHS Git Server - phs-api.git/commitdiff
Removing debug logging from getStatus method on vpn.controller.js.
authorcharleswrayjr <charleswrayjr@gmail.com>
Tue, 9 Sep 2025 20:21:59 +0000 (15:21 -0500)
committercharleswrayjr <charleswrayjr@gmail.com>
Tue, 9 Sep 2025 20:21:59 +0000 (15:21 -0500)
src/controllers/vpn.controller.js

index 81db122bf9e2a225e553953457d95cf041dabe0c..5f06ea71a7ca6b9cbce658df92979bf79fc313c7 100644 (file)
@@ -262,7 +262,7 @@ module.exports = {
 
       // Disconnect client via management interface
       const client = new net.Socket();
-      client.connect(7505, '192.168.1.62', () => {
+      client.connect(7505, 'host.docker.internal', () => {
         logger.info('Connected to OpenVPN management interface');
         client.write(`client-kill ${clientName}\n`);
       });