mirror of
https://github.com/ngoduykhanh/wireguard-ui
synced 2024-05-07 08:16:34 +02:00
add an empty line at the end of the wg.conf.
This commit is contained in:
parent
bf73524f21
commit
8cf87d05a6
|
@ -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}}
|
||||
|
|
Loading…
Reference in a new issue