add AUTOMATIC entry to server list API for client compatibility

This commit is contained in:
Reese Norris
2025-05-25 13:52:19 -07:00
parent c0155e78d4
commit 2943735be6
2 changed files with 20 additions and 1 deletions

View File

@@ -7,6 +7,7 @@ CONNECTED CLIENTS = 1
;
;
!SERVERS:
{{ range . }}{{ .Ident }}:{{ .HostnameOrIp }}:{{ .Location }}:{{ .Ident }}:{{ .ClientsConnectionAllowed }}:{{ end }}
{{ range $index, $element := . }}{{ if $index }}
{{ end }}{{ $element.Ident }}:{{ $element.HostnameOrIp }}:{{ $element.Location }}:{{ $element.Name }}:{{ $element.ClientsConnectionAllowed }}:{{ end }}
;
; END