diff --git a/charts/matrix-synapse/Chart.yaml b/charts/matrix-synapse/Chart.yaml index f32ba1d..af04e3d 100644 --- a/charts/matrix-synapse/Chart.yaml +++ b/charts/matrix-synapse/Chart.yaml @@ -5,7 +5,7 @@ description: Matrix reference homeserver appVersion: 1.18.0 type: application -version: 0.1.4 +version: 0.1.5 maintainers: - name: Alexander Olofsson email: ace@haxalot.com diff --git a/charts/matrix-synapse/templates/well-known-config.yaml b/charts/matrix-synapse/templates/well-known-config.yaml index 44a2b86..4b51758 100644 --- a/charts/matrix-synapse/templates/well-known-config.yaml +++ b/charts/matrix-synapse/templates/well-known-config.yaml @@ -35,6 +35,9 @@ data: "access-control-allow-methods" => "GET, POST, PUT, DELETE, OPTIONS", "access-control-allow-origin" => "*" ) + setenv.set-response-header = ( + "content-type" => "application/json" + ) server.json: |- {{ dict "m.server" (printf "%s:%d" (.Values.wellknown.host | default .Values.config.serverName) (.Values.wellknown.port | default 443)) | toJson | indent 4 }} {{- end }}