diff options
author | Maximilian Bosch <maximilian@mbosch.me> | 2023-10-08 19:53:26 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-08 19:53:26 +0200 |
commit | 669da9ccdb01dff94eda13bc0f4bea5449efcfa5 (patch) | |
tree | d746ad3a64f74ccd5f8cb346a6d5ae8f692e0fb5 /nixos/modules/services/matrix | |
parent | c04d238bf9b892253cceef9b5f7097390e036e1b (diff) | |
parent | 5f445e8cf578d0e180d50fca1f13e55a3739a39a (diff) |
Merge pull request #246117 from Ralith/fix-synapse-well-known-example
nixos/matrix-synapse: fix duplicate Content-Type header in example
Diffstat (limited to 'nixos/modules/services/matrix')
-rw-r--r-- | nixos/modules/services/matrix/synapse.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/services/matrix/synapse.md b/nixos/modules/services/matrix/synapse.md index 1d22805b472f6..58be24204fcfe 100644 --- a/nixos/modules/services/matrix/synapse.md +++ b/nixos/modules/services/matrix/synapse.md @@ -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}'; ''; |