Merge pull request #246117 from Ralith/fix-synapse-well-known-example

nixos/matrix-synapse: fix duplicate Content-Type header in example
This commit is contained in:
Maximilian Bosch 2023-10-08 19:53:26 +02:00 committed by GitHub
commit 669da9ccdb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -31,7 +31,7 @@ let
clientConfig."m.homeserver".base_url = baseUrl;
serverConfig."m.server" = "${fqdn}:443";
mkWellKnown = data: ''
add_header Content-Type application/json;
default_type application/json;
add_header Access-Control-Allow-Origin *;
return 200 '${builtins.toJSON data}';
'';