From 833bdf878a48a6c80b39c27fcd74766c2295b4ef Mon Sep 17 00:00:00 2001 From: Donald Zou Date: Sat, 14 Sep 2024 15:49:41 +0800 Subject: [PATCH] Update dashboard.py --- src/dashboard.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dashboard.py b/src/dashboard.py index 2db77be..9c8e9a9 100644 --- a/src/dashboard.py +++ b/src/dashboard.py @@ -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" },