소스 검색

Allow new Hydrogen options from #1940 to be customized

pull/1967/head
Aaron Raimist 4 년 전
부모
커밋
ca5d7df161
No known key found for this signature in database GPG 키 ID: DD9A36A59CF16185
2개의 변경된 파일10개의 추가작업 그리고 7개의 파일을 삭제
  1. +7
    -0
      roles/matrix-client-hydrogen/defaults/main.yml
  2. +3
    -7
      roles/matrix-client-hydrogen/templates/config.json.j2

+ 7
- 0
roles/matrix-client-hydrogen/defaults/main.yml 파일 보기

@@ -31,7 +31,14 @@ matrix_client_hydrogen_systemd_required_services_list: ['docker.service']
matrix_client_hydrogen_self_check_validate_certificates: true

# config.json
matrix_client_hydrogen_push: {
"appId": "io.element.hydrogen.web",
"gatewayUrl": "https://matrix.org",
"applicationServerKey": "BC-gpSdVHEXhvHSHS0AzzWrQoukv2BE7KzpoPO_FfPacqOo3l1pdqz7rSgmB04pZCWaHPz7XRe6fjLaC-WPDopM"
}
matrix_client_hydrogen_default_hs_url: ""
matrix_client_hydrogen_bugReportEndpointUrl: "https://element.io/bugreports/submit"


# Default Hydrogen configuration template which covers the generic use case.
# You can customize it by controlling the various variables inside it.


+ 3
- 7
roles/matrix-client-hydrogen/templates/config.json.j2 파일 보기

@@ -1,11 +1,7 @@
{
"push": {
"appId": "io.element.hydrogen.web",
"gatewayUrl": "https://matrix.org",
"applicationServerKey": "BC-gpSdVHEXhvHSHS0AzzWrQoukv2BE7KzpoPO_FfPacqOo3l1pdqz7rSgmB04pZCWaHPz7XRe6fjLaC-WPDopM"
},
"defaultHomeServer": {{ matrix_client_hydrogen_default_hs_url | string|to_json }},
"bugReportEndpointUrl": "https://element.io/bugreports/submit",
"push": {{ matrix_client_hydrogen_push | to_json }},
"defaultHomeServer": {{ matrix_client_hydrogen_default_hs_url | string | to_json }},
"bugReportEndpointUrl": {{ matrix_client_hydrogen_bugReportEndpointUrl | to_json }},
"themeManifests": [
"assets/theme-Element.json"
],


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