From 8c9829b726fc7c626cb9fae09d505f88b0f0909b Mon Sep 17 00:00:00 2001 From: Timotej Lazar Date: Mon, 29 Jul 2024 11:16:08 +0200 Subject: [PATCH] Fix default wg_dns setting All settings are processed as strings so use empty string in place of False for default. --- web/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/__init__.py b/web/__init__.py index 92da140..966e54e 100644 --- a/web/__init__.py +++ b/web/__init__.py @@ -25,7 +25,7 @@ def create_app(test_config=None): 'wg_endpoint': '', 'wg_port': '51820', 'wg_allowed_nets': '', - 'wg_dns': False, + 'wg_dns': '', 'wg_key': '', 'wg_net': '', 'wg_net6': '',