1
0
mirror of https://github.com/donaldzou/WGDashboard.git synced 2024-11-21 14:51:45 +01:00

Update dashboard.py

This commit is contained in:
Donald Zou 2024-09-14 15:49:41 +08:00
parent e9ab7029c9
commit 833bdf878a

View File

@ -1129,7 +1129,7 @@ class DashboardConfig:
"peer_global_DNS": "1.1.1.1",
"peer_endpoint_allowed_ip": "0.0.0.0/0",
"peer_display_mode": "grid",
"remote_endpoint": ifcfg.default_interface()['inet'],
"remote_endpoint": ifcfg.default_interface()['inet'] if ifcfg.default_interface() else '',
"peer_MTU": "1420",
"peer_keep_alive": "21"
},