Papermark is the open-source DocSend alternative and secure data rooms with built-in analytics and custom domains.
feat: add permanent redirect for dataroom links
Marc Seitzd870402f99a5
diff --git a/next.config.mjs b/next.config.mjsindex 1688d527..13de3d26 100644--- a/next.config.mjs+++ b/next.config.mjs@@ -14,6 +14,15 @@ const nextConfig = {},missingSuspenseWithCSRBailout: false,},+ async redirects() {+ return [+ {+ source: "/view/d/:path*",+ destination: "/view/:path*",+ permanent: true,+ },+ ];+ },};function prepareRemotePatterns() {