This commit is contained in:
sco
2020-11-03 01:31:48 +01:00
parent 56709721cc
commit 597500232b
2 changed files with 4 additions and 1 deletions
+1 -1
View File
@@ -98,7 +98,7 @@ app.get('/vpnCheck', async (req, res) => {
{
"id": "vpn-check",
"data": "Not connected",
"stderr": ""
"stderr": "VPN not connected"
})
}
+3
View File
@@ -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>