Skip to content

Commit

Permalink
Remove whitespace from start of generated wireguard config closes #141
Browse files Browse the repository at this point in the history
  • Loading branch information
NHAS committed Nov 15, 2024
1 parent 4c209e6 commit 041d1e4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/enrolment/resources/templates/wgconf_enrolment.tmpl
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{{- if .ClientPrivateKey }}
{{- if .ClientPrivateKey -}}
[Interface]
PrivateKey = {{.ClientPrivateKey | Unescape}}
{{- end}}
{{- end -}}
{{- if .DNS}}
DNS = {{StringsJoin .DNS ", "}}
{{- end}}
Expand Down

0 comments on commit 041d1e4

Please sign in to comment.