Skip to content

Commit 3b81e15

Browse files
committed
Updated readme
1 parent a7073c8 commit 3b81e15

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
@@ -130,7 +130,7 @@ const redisHandler = await createRedisHandler({
130130
```js
131131
import { createCluster } from "@redis/client";
132132
import createRedisHandler from "@fortedigital/nextjs-cache-handler/redis-strings";
133-
import { withProxy } from "@fortedigital/nextjs-cache-handler/cluster/withProxy";
133+
import { withProxy } from "@fortedigital/nextjs-cache-handler/cluster/proxy";
134134

135135
const { hostname: redisHostName } = new URL(process.env.REDIS_URL);
136136
redis = withProxy(
@@ -149,7 +149,7 @@ redis = withProxy(
149149
})
150150
);
151151

152-
// after using withProx you can use redis cluster instance as parameter for createRedisHandler
152+
// after using withProxy you can use redis cluster instance as parameter for createRedisHandler
153153
const redisCacheHandler = createRedisHandler({
154154
client: redis,
155155
keyPrefix: CACHE_PREFIX,

0 commit comments

Comments
 (0)