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:
		| @@ -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", | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user