diff --git a/templates/wireguard_server.conf.j2 b/templates/wireguard_server.conf.j2 index d32dd26..bae5450 100644 --- a/templates/wireguard_server.conf.j2 +++ b/templates/wireguard_server.conf.j2 @@ -12,4 +12,5 @@ PublicKey = {{ item.PublicKey }} AllowedIPs = {{ item.AllowedIPs }} {% if item.EndPointIP is defined and item.EndPointIP != '' %} EndPoint = {{ item.EndPointIP }}:{{ listenport }} +{% endif %} {% endfor %}