From 42b16c8ac56c3ee1373d77cf5cc96a4f426d8335 Mon Sep 17 00:00:00 2001 From: Timotej Lazar Date: Mon, 6 Feb 2023 16:58:59 +0100 Subject: [PATCH] Fix whitespace in wireguard config template --- web/templates/vpn/wg-fri.conf | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/web/templates/vpn/wg-fri.conf b/web/templates/vpn/wg-fri.conf index d38b3e4..4976cdd 100644 --- a/web/templates/vpn/wg-fri.conf +++ b/web/templates/vpn/wg-fri.conf @@ -3,9 +3,7 @@ # PublicKey = {{ pubkey }} PrivateKey = # paste private key here Address = {{ ip }} -{%- if use_dns -%} -DNS = 212.235.188.28,212.235.188.29,fri1.uni-lj.si -{%- endif %} +{% if use_dns %}DNS = 212.235.188.28,212.235.188.29,fri1.uni-lj.si{% endif %} [Peer] Endpoint = {{ server }}:{{ port }}