1
0
mirror of https://github.com/donaldzou/WGDashboard.git synced 2024-11-22 07:10:09 +01:00

Merge pull request #127 from pgalonza/refactoring

Fixed misprint
This commit is contained in:
Donald Zou 2022-01-04 16:41:26 -05:00 committed by GitHub
commit 68b3f01082
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1750,7 +1750,7 @@ def init_dashboard():
# Defualt dashboard server setting
if "Server" not in config:
config['Server'] = {}
if 'wg_conf_path' not in config['Serxecute ping traceroute command.ver']:
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']: