mirror of
https://github.com/donaldzou/WGDashboard.git
synced 2024-11-22 15:20:09 +01:00
fixed initiation for gunicorn
This commit is contained in:
parent
3918e220d2
commit
2103d547a1
@ -1183,6 +1183,7 @@ def run_dashboard():
|
|||||||
Get host and port for web-server
|
Get host and port for web-server
|
||||||
"""
|
"""
|
||||||
def get_host_bind():
|
def get_host_bind():
|
||||||
|
init_dashboard()
|
||||||
config = configparser.ConfigParser(strict=False)
|
config = configparser.ConfigParser(strict=False)
|
||||||
config.read('wg-dashboard.ini')
|
config.read('wg-dashboard.ini')
|
||||||
app_ip = config.get("Server", "app_ip")
|
app_ip = config.get("Server", "app_ip")
|
||||||
|
Loading…
Reference in New Issue
Block a user