Skip to content

Papermark is the open-source DocSend alternative and secure data rooms with built-in analytics and custom domains.

fix: revalidate custom domains no matter what

Marc Seitz26663a4cb748
diff --git a/pages/view/domains/[domain]/[slug]/index.tsx b/pages/view/domains/[domain]/[slug]/index.tsx
index ea7ef997..99e5046d 100644
--- a/pages/view/domains/[domain]/[slug]/index.tsx
+++ b/pages/view/domains/[domain]/[slug]/index.tsx
@@ -99,7 +99,7 @@ export const getStaticProps = async (context: GetStaticPropsContext) => {
},
showPoweredByBanner: teamPlan === "free",
},
- revalidate: brand ? 10 : false,
+ revalidate: 10,
};
}