From 78d3f338fb6fb9461e495dd4f1a1910a8bbcb147 Mon Sep 17 00:00:00 2001 From: Donald Cheng Hong Zou Date: Wed, 22 Dec 2021 11:36:29 -0500 Subject: [PATCH] Update dashboard.py --- src/dashboard.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/dashboard.py b/src/dashboard.py index 8d0adaa..e987e1d 100644 --- a/src/dashboard.py +++ b/src/dashboard.py @@ -22,7 +22,7 @@ from flask_qrcode import QRcode from tinydb import TinyDB, Query from icmplib import ping, multiping, traceroute, resolve, Host, Hop # Dashboard Version -dashboard_version = 'v2.3.1' +dashboard_version = 'v3.0' # Dashboard Config Name dashboard_conf = 'wg-dashboard.ini' # Upgrade Required @@ -1140,8 +1140,9 @@ def init_dashboard(): config['Server'] = {} if 'wg_conf_path' not in config['Server']: config['Server']['wg_conf_path'] = '/etc/wireguard' + # TODO: IPv6 for the app IP might need to configure with Gunicorn... if 'app_ip' not in config['Server']: - config['Server']['app_ip'] = '::' + config['Server']['app_ip'] = '0.0.0.0' if 'app_port' not in config['Server']: config['Server']['app_port'] = '10086' if 'auth_req' not in config['Server']: