From 2103d547a18c75efb602c6d1ef53ec46e9552f86 Mon Sep 17 00:00:00 2001
From: Galonza Peter
Date: Sat, 23 Oct 2021 12:19:05 +0300
Subject: [PATCH] fixed initiation for gunicorn
---
src/dashboard.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/dashboard.py b/src/dashboard.py
index 9f16f1e..6472181 100644
--- a/src/dashboard.py
+++ b/src/dashboard.py
@@ -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")