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

added dual-stack

This commit is contained in:
Galonza Peter 2021-10-17 22:55:08 +03:00
parent 62be683dd8
commit caa9a90476

View File

@ -1139,7 +1139,7 @@ def init_dashboard():
if 'wg_conf_path' not in config['Server']: if 'wg_conf_path' not in config['Server']:
config['Server']['wg_conf_path'] = '/etc/wireguard' config['Server']['wg_conf_path'] = '/etc/wireguard'
if 'app_ip' not in config['Server']: if 'app_ip' not in config['Server']:
config['Server']['app_ip'] = '0.0.0.0' config['Server']['app_ip'] = '::'
if 'app_port' not in config['Server']: if 'app_port' not in config['Server']:
config['Server']['app_port'] = '10086' config['Server']['app_port'] = '10086'
if 'auth_req' not in config['Server']: if 'auth_req' not in config['Server']: