Просмотр исходного кода

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 лет назад
Родитель
Сommit
c9e30708be
1 измененных файлов: 1 добавлений и 1 удалений
  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 Просмотреть файл

@@ -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 %}
}

Загрузка…
Отмена
Сохранить