Skip to content

armgit / dub

Public Imported from GitHub
0

The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.

missed a spot

Steven Teya4b0dff98c83
diff --git a/apps/web/lib/planetscale.ts b/apps/web/lib/planetscale.ts
index c508c97893..56fb2e698d 100644
--- a/apps/web/lib/planetscale.ts
+++ b/apps/web/lib/planetscale.ts
@@ -31,7 +31,7 @@ export const getDomainViaEdge = async (domain: string) => {
};
export const checkIfKeyExists = async (domain: string, key: string) => {
- if (!process.env.DATABASE_URL) return null;
+ if (!process.env.PLANETSCALE_DATABASE_URL) return null;
const { rows } =
(await conn.execute(