Add matrix_client_cinny_config_homeserverList variable

This commit is contained in:
Slavi Pantaleev 2024-12-21 13:44:09 +02:00
parent e533eef620
commit c95d181c9a
2 changed files with 6 additions and 4 deletions

View File

@ -143,9 +143,13 @@ matrix_client_cinny_path_prefix: /
# Controls whether the self-check feature should validate SSL certificates.
matrix_client_cinny_self_check_validate_certificates: true
# config.json
# Default homeserver URL to use in the `config.json` file.
# See `matrix_client_cinny_config_homeserverList`.
matrix_client_cinny_default_hs_url: ""
# Controls the `homeserverList` value in the `config.json` file.
matrix_client_cinny_config_homeserverList: "{{ [matrix_client_cinny_default_hs_url] }}" # noqa var-naming
# Default Cinny configuration template which covers the generic use case.
# You can customize it by controlling the various variables inside it.
#

View File

@ -1,6 +1,4 @@
{
"defaultHomeserver": 0,
"homeserverList": [
{{ matrix_client_cinny_default_hs_url | string|to_json }}
]
"homeserverList": {{ matrix_client_cinny_config_homeserverList | to_json }}
}