From bab4659124e46c59330c9dbab1392fe13e4b9980 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jorge=20Alberto=20D=C3=ADaz=20Orozco=20=28Akiel=29?= Date: Sun, 17 Nov 2024 14:55:19 +0100 Subject: [PATCH] Show server returned errors in the web interface --- index.html | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/index.html b/index.html index 810b0e1..c17ba19 100644 --- a/index.html +++ b/index.html @@ -21,7 +21,7 @@ - vpn_key + refresh

Status: {{ proxyStatus }}

Location: {{ proxyLocation }}

@@ -65,8 +65,7 @@

Address: {{ proxyAddress }}

this.proxyLocation = response.data.YourFuckingLocation; } }).catch(error => { - this.proxyStatus = 'Server Error'; - console.log(error); + this.proxyStatus = 'Error '+error.response.data; }); } }