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 }}