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