Skip to content

Commit 956ddbe

Browse files
committed
Updated readme
1 parent 16715db commit 956ddbe

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
@@ -126,7 +126,7 @@ const redisHandler = await createRedisHandler({
126126
```js
127127
import { createCluster } from "@redis/client";
128128
import createRedisHandler from "@fortedigital/nextjs-cache-handler/redis-strings";
129-
import { withProxy } from "@fortedigital/nextjs-cache-handler/cluster/withProxy";
129+
import { withProxy } from "@fortedigital/nextjs-cache-handler/cluster/proxy";
130130

131131
const { hostname: redisHostName } = new URL(process.env.REDIS_URL);
132132
redis = withProxy(
@@ -145,7 +145,7 @@ redis = withProxy(
145145
})
146146
);
147147

148-
// after using withProx you can use redis cluster instance as parameter for createRedisHandler
148+
// after using withProxy you can use redis cluster instance as parameter for createRedisHandler
149149
const redisCacheHandler = createRedisHandler({
150150
client: redis,
151151
keyPrefix: CACHE_PREFIX,

0 commit comments

Comments
 (0)