The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.
TypeScript clickhousemysqlnextjsopen-sourceplanetscaleprismatailwindcsstinybirdtypescriptupstashvercel
added revalidate for proxy 404 case
Steven Tey334196b89911
diff --git a/.gitignore b/.gitignoreindex bd89748b03..09ef1cc5df 100644--- a/.gitignore+++ b/.gitignore@@ -36,4 +36,5 @@ yarn-error.log**.tsbuildinfonext-env.d.ts-/pages/api/scripts*\ No newline at end of file+/pages/api/scripts*+.mailing\ No newline at end of filediff --git a/pages/proxy/[domain]/[key].tsx b/pages/proxy/[domain]/[key].tsxindex 00f855ed84..2b86796326 100644--- a/pages/proxy/[domain]/[key].tsx+++ b/pages/proxy/[domain]/[key].tsx@@ -67,6 +67,7 @@ export async function getStaticProps(ctx) {if (!url || !title || !description || !image) {return {notFound: true,+ revalidate: 1,};}const project = await prisma.project.findUnique({