diff --git a/ui/lib/serverEnvironment.ts b/ui/lib/serverEnvironment.ts index 3e9c648..de07965 100644 --- a/ui/lib/serverEnvironment.ts +++ b/ui/lib/serverEnvironment.ts @@ -23,7 +23,7 @@ async function fetchConfig() { } } -export async function getServerEnv(envVar: string): Promise { +export async function getServerEnv(envVar: string): Promise { // Check if the cache is still valid if (cachedConfig && cacheTimestamp && Date.now() - cacheTimestamp < CACHE_DURATION_MS) { return cachedConfig[envVar] || process.env[envVar];