mirror of
https://github.com/spantaleev/matrix-docker-ansible-deploy.git
synced 2024-11-15 06:52:51 +01:00
dca6db15da
This is needed when using a prefix path that doesn't end with a slash. Signed-off-by: Sergio Durigan Junior <sergiodj@sergiodj.net>
13 lines
454 B
Django/Jinja
13 lines
454 B
Django/Jinja
{
|
|
"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": [
|
|
"{{ '' if matrix_client_hydrogen_path_prefix == '/' else matrix_client_hydrogen_path_prefix }}/assets/theme-element.json"
|
|
],
|
|
"defaultTheme": {
|
|
"light": "element-light",
|
|
"dark": "element-dark"
|
|
}
|
|
}
|