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.

Update [domain].tsx

Steven Teycb120cb5b0f1
diff --git a/pages/_root/[domain].tsx b/pages/_root/[domain].tsx
index dd3a41726e..d6cb0a65a6 100644
--- a/pages/_root/[domain].tsx
+++ b/pages/_root/[domain].tsx
@@ -89,7 +89,7 @@ export default function Placeholder({ domain }: { domain: string }) {
}
export const getStaticPaths = async () => {
- const domains = process.env.VERCEL_ENV !== "production" ? await prisma.domain.findMany({
+ const domains = process.env.VERCEL_ENV === "production" ? await prisma.domain.findMany({
where: {
verified: true,
target: null,