add an empty line at the end of the wg.conf.

This commit is contained in:
kevin 2023-12-27 17:11:51 +08:00
parent bf73524f21
commit 8cf87d05a6

View file

@ -24,4 +24,4 @@ PublicKey = {{ .Client.PublicKey }}
{{if .Client.PresharedKey }}PresharedKey = {{ .Client.PresharedKey }}
{{end}}AllowedIPs = {{$first :=true}}{{range .Client.AllocatedIPs }}{{if $first}}{{$first = false}}{{else}},{{end}}{{.}}{{end}}{{range .Client.ExtraAllowedIPs }},{{.}}{{end}}
{{if .Client.Endpoint }}Endpoint = {{ .Client.Endpoint }}{{end}}
{{end}}{{end}}
{{end}}{{end}}