1 parent 646e57e commit 79f5c1aCopy full SHA for 79f5c1a
1 file changed
src/lib/cache/redis.ts
@@ -1,5 +1,7 @@
1
import { Redis } from "@upstash/redis";
2
3
+let redis: Redis | null = null;
4
+
5
const isMockRedis =
6
!process.env.UPSTASH_REDIS_REST_URL ||
7
process.env.UPSTASH_REDIS_REST_URL.includes("mock") ||
0 commit comments