Skip to content

Commit bea9ce4

Browse files
committed
also pretend like you didnt see this.
1 parent a9ab4f9 commit bea9ce4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/utils/cache/adapter.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { Redis } from '@upstash/redis'
33
export function getCacheAdapter(prefix: string): CacheAdapter {
44
const config = useRuntimeConfig()
55

6-
if (import.meta.dev && config.upstash?.redisRestUrl && config.upstash?.redisRestToken) {
6+
if (!import.meta.dev && config.upstash?.redisRestUrl && config.upstash?.redisRestToken) {
77
const redis = new Redis({
88
url: config.upstash.redisRestUrl,
99
token: config.upstash.redisRestToken,

0 commit comments

Comments
 (0)