Skip to content

Commit

Permalink
Debugging Upstash #12
Browse files Browse the repository at this point in the history
  • Loading branch information
david emioma committed Apr 3, 2024
1 parent a330708 commit ed39d7d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/redis.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import { Redis } from "@upstash/redis";
import { Ratelimit } from "@upstash/ratelimit";

const url = process.env.NEXT_PUBLIC_UPSTASH_REDIS_REST_URL;
const url = process.env.UPSTASH_REDIS_REST_URL;

const token = process.env.NEXT_PUBLIC_UPSTASH_REDIS_REST_TOKEN;
const token = process.env.UPSTASH_REDIS_REST_TOKEN;

if (!url || !token) {
throw new Error(
Expand Down

0 comments on commit ed39d7d

Please sign in to comment.