File size: 341 Bytes
38d787b
b8c4528
38d787b
 
 
 
 
 
 
 
b8c4528
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
import { Redis } from "@upstash/redis"
import { Query } from "@upstash/query"

import { redisToken, redisUrl } from "./config"

export const redis = new Redis({
  url: redisUrl,
  token: redisToken
})

/*
const q = new Redis({
  url: redisUrl,
  token: redisToken,
  automaticDeserialization: false, // redis query needs it to false?
})
*/