mirror of
https://github.com/element-hq/synapse.git
synced 2026-10-22 17:32:43 +00:00
Allow Date header through CORS (#8804)
This commit is contained in:
1 parent
89f7930730
commit
3f0cba657c
2 files changed
+2
-1
No files matched your search
@@ -0,0 +1 @@
|
||||
Allow Date header through CORS. Contributed by Nicolas Chamo.
|
||||
@@ -674,7 +674,7 @@ def set_cors_headers(request: Request):
|
||||
)
|
||||
request.setHeader(
|
||||
b"Access-Control-Allow-Headers",
|
||||
b"Origin, X-Requested-With, Content-Type, Accept, Authorization",
|
||||
b"Origin, X-Requested-With, Content-Type, Accept, Authorization, Date",
|
||||
)
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user