@@ -170,8 +152,6 @@
ALLOWED IP
{{i['allowed_ip']}}
-{#
#}
-
LATEST HANDSHAKE
{{i['latest_handshake']}}
@@ -182,12 +162,7 @@
{{i['endpoint']}}
-
-
-
-
-
-
diff --git a/src/templates/header.html b/src/templates/header.html
index 8d87dba..61a83ba 100644
--- a/src/templates/header.html
+++ b/src/templates/header.html
@@ -3,7 +3,7 @@
WGDashboard | {{ title }}
-
+
\ No newline at end of file
diff --git a/src/wgd.sh b/src/wgd.sh
index 97a5e80..c042926 100755
--- a/src/wgd.sh
+++ b/src/wgd.sh
@@ -46,9 +46,9 @@ install_wgd(){
then mkdir "log"
fi
printf "| Upgrading pip |\n"
- python3 -m pip install -U pip
+ python3 -m pip install -U pip > /dev/null 2>&1
printf "| Installing latest Python dependencies |\n"
- python3 -m pip install -U -r requirements.txt
+ python3 -m pip install -U -r requirements.txt > /dev/null 2>&1
printf "| WGDashboard installed successfully! |\n"
printf "| Enter ./wgd start to start the dashboard |\n"
}
@@ -102,9 +102,9 @@ update_wgd() {
git pull
# git pull https://github.com/donaldzou/wireguard-dashboard.git $new_ver --force > /dev/null 2>&1
printf "| Upgrading pip |\n"
- python3 -m pip install -U pip
+ python3 -m pip install -U pip > /dev/null 2>&1
printf "| Installing latest Python dependencies |\n"
- python3 -m pip install -U -r requirements.txt
+ python3 -m pip install -U -r requirements.txt > /dev/null 2>&1
printf "| Update Successfully! |\n"
printf "%s\n" "$dashes"
rm wgd.sh.old