diff options
-rw-r--r-- | changelog.d/4651.bugfix | 2 | ||||
-rw-r--r-- | synapse/rest/well_known.py | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/changelog.d/4651.bugfix b/changelog.d/4651.bugfix index 2f8d19e0c0..15cb1e58c4 100644 --- a/changelog.d/4651.bugfix +++ b/changelog.d/4651.bugfix @@ -1 +1 @@ -set CORS headers on .well-known requests +Set CORS headers on .well-known requests diff --git a/synapse/rest/well_known.py b/synapse/rest/well_known.py index 0d270de8bb..c0a4ae93e5 100644 --- a/synapse/rest/well_known.py +++ b/synapse/rest/well_known.py @@ -17,6 +17,7 @@ import json import logging from twisted.web.resource import Resource + from synapse.http.server import set_cors_headers logger = logging.getLogger(__name__) |