test
This commit is contained in:
2
index.js
2
index.js
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user