matrix-synapse: Lock content-type for well-known
This commit is contained in:
parent
04b62eada3
commit
069da65136
2 changed files with 4 additions and 1 deletions
|
@ -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
|
||||
|
|
|
@ -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 }}
|
||||
|
|
Loading…
Reference in a new issue