Explorar el Código

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 hace 3 años
padre
commit
c9e30708be
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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 Ver fichero

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

Cargando…
Cancelar
Guardar