From bbbd90a0699f2ca89674189e3d244e7a97f21240 Mon Sep 17 00:00:00 2001 From: Ruben Talstra Date: Fri, 14 Feb 2025 11:41:21 +0100 Subject: [PATCH] feat: Add Custom Welcome Message Support in LibreChat [#5870](https://github.com/danny-avila/LibreChat/pull/5870) --- pages/docs/configuration/dotenv.mdx | 20 +++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) diff --git a/pages/docs/configuration/dotenv.mdx b/pages/docs/configuration/dotenv.mdx index f6226b45..b77afeca 100644 --- a/pages/docs/configuration/dotenv.mdx +++ b/pages/docs/configuration/dotenv.mdx @@ -948,22 +948,28 @@ Properly setting cache headers is crucial for optimizing the performance and eff * Uncomment `STATIC_CACHE_S_MAX_AGE` to change the `s-maxage` for static files. By default this is set to 1 week. - This is for the _shared cache_, which is used by CDNs and proxies. -#### App Title and Footer +#### App Title, Welcome Message, and Footer **Behaviour:** -* Uncomment `CUSTOM_FOOTER` to add a custom footer. -* Uncomment and leave `CUSTOM_FOOTER` empty to remove the footer. -* You can now add one or more links in the CUSTOM_FOOTER value using the following format: `[Anchor text](URL)`. Each link should be delineated with a pipe (`|`). +- **`CUSTOM_WELCOME_MESSAGE`**: + * Uncomment and set a value to display a custom welcome message on the landing page. + * Leave it commented or empty to use the default welcome message. -> **Markdown example:** `CUSTOM_FOOTER=[Link 1](http://example1.com) | [Link 2](http://example2.com)` +- **`CUSTOM_FOOTER`**: + * Uncomment `CUSTOM_FOOTER` to add a custom footer. + * Uncomment and leave `CUSTOM_FOOTER` empty to remove the footer. + * You can now add one or more links in the CUSTOM_FOOTER value using the following format: `[Anchor text](URL)`. Each link should be delineated with a pipe (`|`). + + > **Markdown example:** `CUSTOM_FOOTER=[Link 1](http://example1.com) | [Link 2](http://example2.com)` #### Birthday Hat