This commit is contained in:
2023-06-25 14:31:53 +02:00
parent fc1a6e686a
commit 9bb5b92ac6

View File

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