0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-12-25 16:34:33 +01:00
This commit is contained in:
Matthew Hodgson 2019-02-14 19:53:12 +00:00
parent 6f47bc3fb2
commit bfcefbb230

View file

@ -59,7 +59,7 @@ class WellKnownResource(Resource):
self._well_known_builder = WellKnownBuilder(hs) self._well_known_builder = WellKnownBuilder(hs)
def render_GET(self, request): def render_GET(self, request):
set_cors_headers(request) set_cors_headers(request)
r = self._well_known_builder.get_well_known() r = self._well_known_builder.get_well_known()
if not r: if not r:
request.setResponseCode(404) request.setResponseCode(404)