瀏覽代碼

add matrix_synapse_oembed_additional_providers var

pull/3754/head
Aine 1 年之前
父節點
當前提交
95aaf76d0d
沒有發現已知的金鑰在資料庫的簽署中 GPG 金鑰 ID: 34969C908CCA2804
共有 2 個檔案被更改,包括 4 行新增0 行删除
  1. +3
    -0
      roles/custom/matrix-synapse/defaults/main.yml
  2. +1
    -0
      roles/custom/matrix-synapse/templates/synapse/homeserver.yaml.j2

+ 3
- 0
roles/custom/matrix-synapse/defaults/main.yml 查看文件

@@ -362,6 +362,9 @@ matrix_synapse_media_retention_local_media_lifetime:
# should be empty to disable
matrix_synapse_media_retention_remote_media_lifetime:

# Controls the list of additional oembed providers to be added to the homeserver.
matrix_synapse_oembed_additional_providers: []

# The tmpfs at /tmp needs to be large enough to handle multiple concurrent file uploads.
matrix_synapse_tmp_directory_size_mb: "{{ matrix_synapse_max_upload_size_mb * 50 }}"



+ 1
- 0
roles/custom/matrix-synapse/templates/synapse/homeserver.yaml.j2 查看文件

@@ -1235,6 +1235,7 @@ oembed:
#
#additional_providers:
# - oembed/my_providers.json
additional_providers: {{ matrix_synapse_oembed_additional_providers|to_json }}


## Captcha ##


Loading…
取消
儲存