Przeglądaj źródła

Fix double-quoting in /.well-known/matrix/support

Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/1931

`|to_json` already adds the surrounding double-quotes for the string, so
adding them explicitly means we've got a double-quotes problem.
pull/1947/head
Slavi Pantaleev 3 lat temu
rodzic
commit
c9e30708be
1 zmienionych plików z 1 dodań i 1 usunięć
  1. +1
    -1
      roles/matrix-base/templates/static-files/well-known/matrix-support.j2

+ 1
- 1
roles/matrix-base/templates/static-files/well-known/matrix-support.j2 Wyświetl plik

@@ -2,6 +2,6 @@
{
"admins": {{ matrix_homeserver_admin_contacts|to_json }}
{% if matrix_homeserver_support_url %},
"support_page": "{{ matrix_homeserver_support_url|to_json }}"
"support_page": {{ matrix_homeserver_support_url|to_json }}
{% endif %}
}

Ładowanie…
Anuluj
Zapisz