mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-09 10:55:00 -04:00
changelog & isort
This commit is contained in:
parent
dbf736ba66
commit
91206e09f2
2 changed files with 6 additions and 1 deletions
1
changelog.d/4279.bugfix
Normal file
1
changelog.d/4279.bugfix
Normal file
|
@ -0,0 +1 @@
|
||||||
|
Send CORS headers for /media/config
|
|
@ -18,7 +18,11 @@ from twisted.internet import defer
|
||||||
from twisted.web.resource import Resource
|
from twisted.web.resource import Resource
|
||||||
from twisted.web.server import NOT_DONE_YET
|
from twisted.web.server import NOT_DONE_YET
|
||||||
|
|
||||||
from synapse.http.server import respond_with_json, wrap_json_request_handler, set_cors_headers
|
from synapse.http.server import (
|
||||||
|
respond_with_json,
|
||||||
|
set_cors_headers,
|
||||||
|
wrap_json_request_handler,
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
class MediaConfigResource(Resource):
|
class MediaConfigResource(Resource):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue