diff --git a/src/services/config.ts b/src/services/config.ts index bfcc6b477..10a2a1b54 100644 --- a/src/services/config.ts +++ b/src/services/config.ts @@ -20,7 +20,8 @@ function getEnvironmentOverrides() { const overrides: Record> = {}; for (const [key, value] of Object.entries(process.env)) { - if (!key.startsWith('TRILIUM_') || !value) { + // Check if key is not uppercase or doesn't start with TRILIUM_ + if (!key.startsWith('TRILIUM_') || !value || key !== key.toUpperCase()) { continue; }