Initial commit with Email Import Wizard and Task Processor updates

This commit is contained in:
2026-05-04 08:02:11 +02:00
commit effdc5d59f
170 changed files with 67739 additions and 0 deletions
+9
View File
@@ -0,0 +1,9 @@
/**
* Gibt eine Umgebungsvariable zurück.
* Priorisierung: window.__ENV__ (Docker Runtime) > import.meta.env (Vite Build-Time)
*/
export function getEnv(key: string): string {
const runtimeEnv = (window as any).__ENV__;
if (runtimeEnv?.[key]) return runtimeEnv[key];
return (import.meta.env as any)[key] ?? '';
}