From c9e30708beed4b493aaf0af1dce123c6043f1c26 Mon Sep 17 00:00:00 2001 From: Slavi Pantaleev Date: Mon, 18 Jul 2022 12:46:19 +0300 Subject: [PATCH] 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. --- .../templates/static-files/well-known/matrix-support.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/matrix-base/templates/static-files/well-known/matrix-support.j2 b/roles/matrix-base/templates/static-files/well-known/matrix-support.j2 index 71567abbe..97e760127 100644 --- a/roles/matrix-base/templates/static-files/well-known/matrix-support.j2 +++ b/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 %} }