diff options
author | Erik Johnston <erik@matrix.org> | 2020-05-22 17:42:39 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-22 17:42:39 +0100 |
commit | 2901f54359bba1ccbe2aac52fd9ff255aa6072b7 (patch) | |
tree | 3dc677dde57f69137552a5981abd7859270e55b0 /synapse | |
parent | Add option to move event persistence off master (#7517) (diff) | |
download | synapse-2901f54359bba1ccbe2aac52fd9ff255aa6072b7.tar.xz |
Fix missing CORS headers on OPTION responses (#7560)
Broke in #7534.
Diffstat (limited to '')
-rw-r--r-- | synapse/http/server.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/http/server.py b/synapse/http/server.py index 33fcfbea6e..9cc2e2e154 100644 --- a/synapse/http/server.py +++ b/synapse/http/server.py @@ -452,7 +452,7 @@ class OptionsResource(resource.Resource): code, response_json_object = _options_handler(request) return respond_with_json( - request, code, response_json_object, send_cors=False, canonical_json=False, + request, code, response_json_object, send_cors=True, canonical_json=False, ) def getChildWithDefault(self, path, request): |