From 3ddb6c6b36a4d3e87824ff2e013b74b3cce1a9ce Mon Sep 17 00:00:00 2001 From: Travis Fischer Date: Sat, 7 Jun 2025 14:45:01 +0700 Subject: [PATCH] fix: REDIS_ENABLED issue --- lib/config.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/config.ts b/lib/config.ts index 839a62e..119f375 100644 --- a/lib/config.ts +++ b/lib/config.ts @@ -114,7 +114,7 @@ export const isSearchEnabled: boolean = getSiteConfig('isSearchEnabled', true) // Optional redis instance for persisting preview images export const isRedisEnabled: boolean = - getSiteConfig('isRedisEnabled', false) || !!getEnv('REDIS_ENABLED') + getSiteConfig('isRedisEnabled', false) || !!getEnv('REDIS_ENABLED', null) // (if you want to enable redis, only REDIS_HOST and REDIS_PASSWORD are required) // we recommend that you store these in a local `.env` file