소스 검색

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
No known key found for this signature in database 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": {
"base_url": "{{ matrix_homeserver_url }}"
},
}
{% if matrix_identity_server_url %},
"m.identity_server": {
"base_url": "{{ matrix_identity_server_url }}"
}
{% endif %}
}

불러오는 중...
취소
저장