test
This commit is contained in:
+1
-1
@@ -98,7 +98,7 @@ app.get('/vpnCheck', async (req, res) => {
|
||||
{
|
||||
"id": "vpn-check",
|
||||
"data": "Not connected",
|
||||
"stderr": ""
|
||||
"stderr": "VPN not connected"
|
||||
})
|
||||
|
||||
}
|
||||
|
||||
@@ -39,6 +39,9 @@ mounted: async function () {
|
||||
throw Error(response.statusText);
|
||||
}
|
||||
this.response = await response.json();
|
||||
if(this.response.stderr !== "") {
|
||||
console.error(this.response.stderr);
|
||||
}
|
||||
}
|
||||
};
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user