Merge pull request #2712 from sergiodj/fix-hydrogen-prefix-path
Fix prefix path when loading Hydrogen's theme-element.json
This commit is contained in:
commit
e0436b3d48
@ -3,7 +3,7 @@
|
|||||||
"defaultHomeServer": {{ matrix_client_hydrogen_default_hs_url | string | to_json }},
|
"defaultHomeServer": {{ matrix_client_hydrogen_default_hs_url | string | to_json }},
|
||||||
"bugReportEndpointUrl": {{ matrix_client_hydrogen_bugReportEndpointUrl | to_json }},
|
"bugReportEndpointUrl": {{ matrix_client_hydrogen_bugReportEndpointUrl | to_json }},
|
||||||
"themeManifests": [
|
"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": {
|
"defaultTheme": {
|
||||||
"light": "element-light",
|
"light": "element-light",
|
||||||
|
Loading…
Reference in New Issue
Block a user