LibreChat/packages
Marco Beretta fc3d82d3c3
fix(client): read theme environment variables from the build-time env
getThemeFromEnv read process.env, which vite-plugin-node-polyfills replaces
with an empty shim in the browser, so every REACT_APP_THEME_* value was
dropped and the loader always returned undefined.

Read import.meta.env instead and register the REACT_APP_THEME_ prefix with
Vite so the values are inlined at build time. The env source is now a
parameter, which lets the tests cover the mapping without mutating globals.
2026-08-03 01:43:31 +02:00
..
api 🔒 fix: Single-Flight MCP OAuth Token Refresh per User/Server (#14596) 2026-08-02 06:39:44 -04:00
client fix(client): read theme environment variables from the build-time env 2026-08-03 01:43:31 +02:00
data-provider 🪺 fix: Keep Preempt-Abandoned Siblings Nested, Make Message Tree Order-Robust (#14587) 2026-08-02 07:04:52 -04:00
data-schemas 🪺 fix: Keep Preempt-Abandoned Siblings Nested, Make Message Tree Order-Robust (#14587) 2026-08-02 07:04:52 -04:00