Skip to content

Commit 2901ab0

Browse files
committed
fix: readme
1 parent 2e3f20d commit 2901ab0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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__'` |

0 commit comments

Comments
 (0)