File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -60,7 +60,7 @@ const nextConfig = {
6060}
6161```
6262
63- Make sure to set either redisUrl or REDISHOST and REDISPORT environment variables.
63+ Make sure to set either REDIS_URL or REDISHOST and REDISPORT environment variables.
6464
6565### Option B: create a wrapper file to change options
6666
@@ -119,7 +119,7 @@ A working example of above can be found in the `test/integration/next-app-custom
119119
120120| Option | Description | Default Value |
121121| ---------------------- | ----------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------- |
122- | redis_url | Redis connection url | ` process.env.REDIS_URL? process.env.REDIS_URL : process.env.REDISHOST ? redis://${process.env.REDISHOST}:${process.env.REDISPORT} : 'redis://localhost:6379' ` |
122+ | redisUrl | Redis connection url | ` process.env.REDIS_URL? process.env.REDIS_URL : process.env.REDISHOST ? redis://${process.env.REDISHOST}:${process.env.REDISPORT} : 'redis://localhost:6379' ` |
123123| database | Redis database number to use. Uses DB 0 for production, DB 1 otherwise | ` process.env.VERCEL_ENV === 'production' ? 0 : 1 ` |
124124| keyPrefix | Prefix added to all Redis keys | ` process.env.VERCEL_URL \|\| 'UNDEFINED_URL_' ` |
125125| sharedTagsKey | Key used to store shared tags hash map in Redis | ` '__sharedTags__' ` |
You can’t perform that action at this time.
0 commit comments