소스 검색

Fix prefix path when loading Hydrogen's theme-element.json

This is needed when using a prefix path that doesn't end with a slash.

Signed-off-by: Sergio Durigan Junior <sergiodj@sergiodj.net>
pull/2712/head
Sergio Durigan Junior 2 년 전
부모
커밋
dca6db15da
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. +1
    -1
      roles/custom/matrix-client-hydrogen/templates/config.json.j2

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

@@ -3,7 +3,7 @@
"defaultHomeServer": {{ matrix_client_hydrogen_default_hs_url | string | to_json }},
"bugReportEndpointUrl": {{ matrix_client_hydrogen_bugReportEndpointUrl | to_json }},
"themeManifests": [
"{{ matrix_client_hydrogen_path_prefix }}assets/theme-element.json"
"{{ '' if matrix_client_hydrogen_path_prefix == '/' else matrix_client_hydrogen_path_prefix }}/assets/theme-element.json"
],
"defaultTheme": {
"light": "element-light",


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