瀏覽代碼

Merge pull request #314 from aaronraimist/well-known-client-no-identity

Remove identity server section from .well-known/matrix/client if there is no identity server
pull/315/head
Slavi Pantaleev 6 年之前
committed by GitHub
父節點
當前提交
4cc6cdf6f3
沒有發現已知的金鑰在資料庫的簽署中 GPG 金鑰 ID: 4AEE18F83AFDEB23
共有 1 個檔案被更改,包括 3 行新增1 行删除
  1. +3
    -1
      roles/matrix-base/templates/static-files/well-known/matrix-client.j2

+ 3
- 1
roles/matrix-base/templates/static-files/well-known/matrix-client.j2 查看文件

@@ -2,8 +2,10 @@
{ {
"m.homeserver": { "m.homeserver": {
"base_url": "{{ matrix_homeserver_url }}" "base_url": "{{ matrix_homeserver_url }}"
},
}
{% if matrix_identity_server_url %},
"m.identity_server": { "m.identity_server": {
"base_url": "{{ matrix_identity_server_url }}" "base_url": "{{ matrix_identity_server_url }}"
} }
{% endif %}
} }

Loading…
取消
儲存