diff --git a/rootfs/etc/confd/templates/server.yaml.tmpl b/rootfs/etc/confd/templates/server.yaml.tmpl index 0422683..78fda4f 100644 --- a/rootfs/etc/confd/templates/server.yaml.tmpl +++ b/rootfs/etc/confd/templates/server.yaml.tmpl @@ -115,9 +115,9 @@ room_invite_state_types: - "m.room.name" app_service_config_files: {{if not (getenv "REGISTRATIONS")}}[]{{end}} -{{if (getenv "REGISTRATIONS")}} -{{range $registration := split (getenv "REGISTRATIONS") ";"}} - - "{{ $registration }}" +{{- if (getenv "REGISTRATIONS")}} +{{- range $registration := split (getenv "REGISTRATIONS") ";"}} + - {{ $registration -}} {{end}} {{end}}