mirror of
https://github.com/element-hq/synapse.git
synced 2024-11-24 02:25:45 +03:00
Route auth'd fed media requests to media repo in Complement tests (#17422)
This commit is contained in:
parent
d48061b7e6
commit
4d6f7c0fc9
2 changed files with 2 additions and 0 deletions
1
changelog.d/17422.misc
Normal file
1
changelog.d/17422.misc
Normal file
|
@ -0,0 +1 @@
|
||||||
|
Route authenticated federation media requests to media repository workers in Complement tests.
|
|
@ -126,6 +126,7 @@ WORKERS_CONFIG: Dict[str, Dict[str, Any]] = {
|
||||||
"^/_synapse/admin/v1/media/.*$",
|
"^/_synapse/admin/v1/media/.*$",
|
||||||
"^/_synapse/admin/v1/quarantine_media/.*$",
|
"^/_synapse/admin/v1/quarantine_media/.*$",
|
||||||
"^/_matrix/client/v1/media/.*$",
|
"^/_matrix/client/v1/media/.*$",
|
||||||
|
"^/_matrix/federation/v1/media/.*$",
|
||||||
],
|
],
|
||||||
# The first configured media worker will run the media background jobs
|
# The first configured media worker will run the media background jobs
|
||||||
"shared_extra_conf": {
|
"shared_extra_conf": {
|
||||||
|
|
Loading…
Reference in a new issue