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({
126
126
``` js
127
127
import { createCluster } from " @redis/client" ;
128
128
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 " ;
130
130
131
131
const { hostname: redisHostName } = new URL (process .env .REDIS_URL );
132
132
redis = withProxy (
@@ -145,7 +145,7 @@ redis = withProxy(
145
145
})
146
146
);
147
147
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
149
149
const redisCacheHandler = createRedisHandler ({
150
150
client: redis,
151
151
keyPrefix: CACHE_PREFIX ,
You can’t perform that action at this time.
0 commit comments