瀏覽代碼

Endpoint changes for Client and media API due to migration to 1.41.0

pull/1250/head
Wolfgang Winter 4 年之前
父節點
當前提交
ee75d35193
共有 1 個文件被更改,包括 4 次插入1 次删除
  1. +4
    -1
      roles/matrix-synapse/vars/workers.yml

+ 4
- 1
roles/matrix-synapse/vars/workers.yml 查看文件

@@ -37,6 +37,7 @@ matrix_synapse_workers_generic_worker_endpoints:
- ^/_matrix/federation/v1/send/ - ^/_matrix/federation/v1/send/


# Client API requests # Client API requests
- ^/_matrix/client/(api/v1|r0|unstable)/createRoom$
- ^/_matrix/client/(api/v1|r0|unstable)/publicRooms$ - ^/_matrix/client/(api/v1|r0|unstable)/publicRooms$
- ^/_matrix/client/(api/v1|r0|unstable)/rooms/.*/joined_members$ - ^/_matrix/client/(api/v1|r0|unstable)/rooms/.*/joined_members$
- ^/_matrix/client/(api/v1|r0|unstable)/rooms/.*/context/.*$ - ^/_matrix/client/(api/v1|r0|unstable)/rooms/.*/context/.*$
@@ -253,10 +254,12 @@ matrix_synapse_workers_media_repository_endpoints:
- ^/_synapse/admin/v1/user/.*/media.*$ - ^/_synapse/admin/v1/user/.*/media.*$
- ^/_synapse/admin/v1/media/.*$ - ^/_synapse/admin/v1/media/.*$
- ^/_synapse/admin/v1/quarantine_media/.*$ - ^/_synapse/admin/v1/quarantine_media/.*$
- ^/_synapse/admin/v1/users/.*/media$


# You should also set `enable_media_repo: False` in the shared configuration # You should also set `enable_media_repo: False` in the shared configuration
# file to stop the main synapse running background jobs related to managing the # file to stop the main synapse running background jobs related to managing the
# media repository.
# media repository. Note that doing so will prevent the main process from being
# able to handle the above endpoints.


# In the `media_repository` worker configuration file, configure the http listener to # In the `media_repository` worker configuration file, configure the http listener to
# expose the `media` resource. For example: # expose the `media` resource. For example:


Loading…
取消
儲存