mirror of
https://github.com/Novaloop-AG/healthchat-web.git
synced 2026-10-31 16:23:03 +00:00
95ee5e2391
The desktop variant config hardcoded ch.healthchat.api_base_url as
https://healthchat.ch, which is the wrong host. The fork's widget
auto-approval logic keys on the api.healthchat.ch origin, so the bare
domain bypassed it and pointed API traffic at the wrong host.
Stale since the desktop build pipeline was introduced (5f09f58a82).
106 lines
4.2 KiB
JSON
106 lines
4.2 KiB
JSON
{
|
|
"brand": "HealthChat",
|
|
"branding": {
|
|
"auth_footer_links": null,
|
|
"auth_header_logo_url": "themes/element/img/logos/element-logo.png",
|
|
"welcome_background_url": null
|
|
},
|
|
"bug_report_endpoint_url": "https://element.io/bugreports/submit",
|
|
"default_country_code": "GB",
|
|
"default_server_config": {
|
|
"m.homeserver": {
|
|
"base_url": "https://matrix.healthchat.ch",
|
|
"server_name": "healthchat.ch"
|
|
},
|
|
"m.identity_server": {
|
|
"base_url": ""
|
|
}
|
|
},
|
|
"default_theme": "custom-HealthChat Light",
|
|
"disable_custom_urls": true,
|
|
"disable_guests": true,
|
|
"element_call": {},
|
|
"embedded_pages": {
|
|
"homeUrl": ""
|
|
},
|
|
"enable_presence_by_hs_url": "",
|
|
"features": {},
|
|
"integrations_jitsi_widget_url": "https://scalar.vector.im/api/widgets/jitsi.html",
|
|
"integrations_rest_url": "https://scalar.vector.im/api",
|
|
"integrations_ui_url": "https://scalar.vector.im/",
|
|
"integrations_widgets_urls": ["https://scalar.vector.im/api"],
|
|
"jitsi": {
|
|
"preferred_domain": "jitsi.healthchat.ch"
|
|
},
|
|
"logout_redirect_url": "",
|
|
"permalink_prefix": "https://matrix.to",
|
|
"room_directory": {
|
|
"servers": ["matrix.org"]
|
|
},
|
|
"sso_redirect_options": {
|
|
"immediate": true,
|
|
"on_welcome_page": true,
|
|
"on_login_page": true
|
|
},
|
|
"setting_defaults": {
|
|
"UIFeature.deactivate": false,
|
|
"UIFeature.advancedEncryption": false,
|
|
"UIFeature.thirdPartyId": false,
|
|
"UIFeature.identityServer": false,
|
|
"UIFeature.shareSocial": false,
|
|
"UIFeature.advancedSettings": false,
|
|
"UIFeature.feedback": false,
|
|
"custom_themes": [
|
|
"HealthChat Light",
|
|
{
|
|
"name": "HealthChat Light",
|
|
"is_dark": false,
|
|
"colors": {
|
|
"accent-color": "#1f4d85",
|
|
"primary-color": "#1f4d85",
|
|
"alert": "#df8e1d",
|
|
"warning-color": "#d20f39",
|
|
"sidebar-color": "#12325c",
|
|
"roomlist-background-color": "#f5f5f5",
|
|
"roomlist-highlights-color": "#d9d9d9",
|
|
"roomlist-separator-color": "#9b9898",
|
|
"roomlist-text-color": "#473e3e",
|
|
"roomlist-text-secondary-color": "#9b9898",
|
|
"timeline-background-color": "#ffffff",
|
|
"timeline-highlights-color": "#d9d9d9",
|
|
"timeline-text-color": "#473e3e",
|
|
"timeline-text-secondary-color": "#9b9898",
|
|
"secondary-content": "#9b9898",
|
|
"tertiary-content": "#9b9898",
|
|
"focus-bg-color": "#d9d9d9",
|
|
"menu-selected-color": "#d9d9d9",
|
|
"other-user-pill-bg-color": "#376A91",
|
|
"room-highlight-color": "#376A91",
|
|
"reaction-row-button-selected-bg-color": "#d9d9d9",
|
|
"togglesw-off-color": "#9b9898",
|
|
"avatar-background-colors": ["#12325c", "#1f4d85", "#376A91"],
|
|
"username-colors": ["#12325c", "#2a4063", "#1f4d85", "#376A91", "#473e3e", "#1f4d85", "#2a4063", "#12325c"]
|
|
},
|
|
"fonts": {
|
|
"general": "\"Century Gothic\", \"Futura\", \"Trebuchet MS\", \"Arial\", sans-serif"
|
|
},
|
|
"compound": {
|
|
"--cpd-color-text-action-accent": "#1f4d85",
|
|
"--cpd-color-bg-action-primary-rest": "#1f4d85",
|
|
"--cpd-color-bg-action-primary-hovered": "#2a4063",
|
|
"--cpd-color-bg-action-primary-pressed": "#12325c",
|
|
"--cpd-color-text-link-external": "#1f4d85",
|
|
"--cpd-color-icon-accent-tertiary": "#376A91"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"show_labs_settings": false,
|
|
"update_base_url": "https://healthchat.ch/packages/desktop/update/",
|
|
"modules": ["/modules/healthchat-module.js"],
|
|
"ch.healthchat": {
|
|
"api_base_url": "https://api.healthchat.ch",
|
|
"elements_base_url": "/webapp/modules/elements"
|
|
}
|
|
}
|