mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-04-13 07:57:29 +00:00
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:
commit
669da9ccdb
@ -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}';
|
||||
'';
|
||||
|
Loading…
Reference in New Issue
Block a user