1
0
mirror of https://github.com/donaldzou/WGDashboard.git synced 2024-11-04 15:00:23 +01:00

fixed initiation for gunicorn

This commit is contained in:
Galonza Peter 2021-10-23 12:19:05 +03:00
parent 3918e220d2
commit 2103d547a1

View File

@ -1183,6 +1183,7 @@ def run_dashboard():
Get host and port for web-server
"""
def get_host_bind():
init_dashboard()
config = configparser.ConfigParser(strict=False)
config.read('wg-dashboard.ini')
app_ip = config.get("Server", "app_ip")