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 @@ -126,7 +126,7 @@ const redisHandler = await createRedisHandler({
126126``` js
127127import { createCluster } from " @redis/client" ;
128128import 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
131131const { hostname: redisHostName } = new URL (process .env .REDIS_URL );
132132redis = 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
149149const redisCacheHandler = createRedisHandler ({
150150 client: redis,
151151 keyPrefix: CACHE_PREFIX ,
You can’t perform that action at this time.
0 commit comments