This commit is contained in:
2023-06-25 14:27:07 +02:00
parent 310516ab48
commit e2d84918d6

View File

@@ -77,6 +77,8 @@ async function vpnConnect(vpnName) {
'Content-Type': 'application/json',
},
});
console.log(response);
console.log(response.json());
const ip = await response.json();
consoleLog(`[${host}] VPN connection successfully established to ${vpnName} (IP: ${ip.data}).`, 'info');
return 0;