File tree 2 files changed +18
-0
lines changed
2 files changed +18
-0
lines changed Original file line number Diff line number Diff line change @@ -30,6 +30,15 @@ UPSTASH_REDIS_REST_URL=<YOUR_URL>
30
30
UPSTASH_REDIS_REST_TOKEN=< YOUR_TOKEN>
31
31
```
32
32
33
+ <Note >
34
+ If you are using the Vercel & Upstash integration, you may use the following environment variables:
35
+
36
+ ``` shell .env
37
+ KV_REST_API_URL=< YOUR_URL>
38
+ KV_REST_API_TOKEN=< YOUR_TOKEN>
39
+ ```
40
+ </Note >
41
+
33
42
### Home Page Setup
34
43
35
44
Update ` /app/page.tsx ` :
Original file line number Diff line number Diff line change @@ -45,6 +45,15 @@ UPSTASH_REDIS_REST_TOKEN=""
45
45
46
46
You can get the values of these env variables on the page of your Redis database.
47
47
48
+ <Note >
49
+ If you are using the Vercel & Upstash integration, you may use the following environment variables:
50
+
51
+ ``` shell .env
52
+ KV_REST_API_URL=< YOUR_URL>
53
+ KV_REST_API_TOKEN=< YOUR_TOKEN>
54
+ ```
55
+ </Note >
56
+
48
57
### ` 4 ` Define the endpoint
49
58
50
59
Next, we will define the endpoint which will call Redis:
You can’t perform that action at this time.
0 commit comments