mirror of
https://github.com/d0zingcat/nextjs-notion-starter-kit.git
synced 2026-05-13 15:09:47 +00:00
fix: REDIS_ENABLED issue
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user