mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2024-12-28 01:29:21 -05:00
Merge pull request #2285 from krombel/allow_authorization_header
allow Authorization header
This commit is contained in:
commit
0a9315bbc7
@ -412,7 +412,7 @@ def set_cors_headers(request):
|
|||||||
)
|
)
|
||||||
request.setHeader(
|
request.setHeader(
|
||||||
"Access-Control-Allow-Headers",
|
"Access-Control-Allow-Headers",
|
||||||
"Origin, X-Requested-With, Content-Type, Accept"
|
"Origin, X-Requested-With, Content-Type, Accept, Authorization"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user