From c8b7147277f82a28e8bbdcc49d1179c90e78aae0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=ABl=20Poyet?= Date: Mon, 16 Feb 2026 22:44:10 +0100 Subject: [PATCH] fix: do not ignore config.json --- apps/web/.gitignore | 3 +- apps/web/config.json | 109 +++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 111 insertions(+), 1 deletion(-) create mode 100644 apps/web/config.json diff --git a/apps/web/.gitignore b/apps/web/.gitignore index da3848aea3..06c041fc11 100644 --- a/apps/web/.gitignore +++ b/apps/web/.gitignore @@ -1,5 +1,6 @@ /webapp -/config.json +# HealthChat: track config.json (do not ignore) +#/config.json /config.json.* /config.local*.json # Legacy skinning file that some people might still have diff --git a/apps/web/config.json b/apps/web/config.json new file mode 100644 index 0000000000..d039164ef4 --- /dev/null +++ b/apps/web/config.json @@ -0,0 +1,109 @@ +{ + "brand": "HealthChat", + "branding": { + "auth_footer_links": null, + "auth_header_logo_url": "https://healthchat.ch/assets/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": "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", + { + "colors": { + "accent-color": "#7287fd", + "alert": "#df8e1d", + "avatar-background-colors": [ + "#1e66f5", + "#8839ef", + "#40a02b" + ], + "focus-bg-color": "#acb0be", + "menu-selected-color": "#bcc0cc", + "other-user-pill-bg-color": "#04a5e5", + "primary-color": "#7287fd", + "reaction-row-button-selected-bg-color": "#bcc0cc", + "room-highlight-color": "#04a5e5", + "roomlist-background-color": "#e6e9ef", + "roomlist-highlights-color": "#bcc0cc", + "roomlist-separator-color": "#8c8fa1", + "roomlist-text-color": "#4c4f69", + "roomlist-text-secondary-color": "#4c4f69", + "secondary-content": "#4c4f69", + "sidebar-color": "#dce0e8", + "tertiary-content": "#4c4f69", + "timeline-background-color": "#eff1f5", + "timeline-highlights-color": "#bcc0cc", + "timeline-text-color": "#4c4f69", + "timeline-text-secondary-color": "#6c6f85", + "togglesw-off-color": "#7c7f93", + "username-colors": [ + "#8839ef", + "#e64553", + "#fe640b", + "#40a02b", + "#179299", + "#04a5e5", + "#209fb5", + "#7287fd" + ], + "warning-color": "#d20f39" + }, + "is_dark": false, + "name": "HealthChat Light" + } + ] + }, + "show_labs_settings": false, + "modules": ["/modules/user-directory-module.js"], + "ch.healthchat.user_directory": { + "api_base_url": "http://localhost:5001" + } +}