Papermark is the open-source DocSend alternative and secure data rooms with built-in analytics and custom domains.
feat: remove header for cache-control
Marc Seitz8ba94ac7e5b4
diff --git a/pages/api/links/domains/[...domainSlug].ts b/pages/api/links/domains/[...domainSlug].tsindex cb1ebe5e..864e1419 100644--- a/pages/api/links/domains/[...domainSlug].ts+++ b/pages/api/links/domains/[...domainSlug].ts@@ -10,7 +10,7 @@ export default async function handle(res: NextApiResponse,) {// Immediately set the Cache-Control header to prevent any form of caching- res.setHeader("Cache-Control", "no-store, max-age=0, must-revalidate");+ // res.setHeader("Cache-Control", "no-store, max-age=0, must-revalidate");if (req.method === "GET") {// GET /api/links/domains/:domain/:slug