Papermark is the open-source DocSend alternative and secure data rooms with built-in analytics and custom domains.
fix: share links are publicly visible now
Marc Seitz530909716c18
diff --git a/middleware.ts b/middleware.tsindex 4a396f55..06dd74c2 100644--- a/middleware.ts+++ b/middleware.ts@@ -19,7 +19,7 @@ export const config = {export default async function middleware(req: NextRequest, ev: NextFetchEvent) {const path = req.nextUrl.pathname;- if (path !== "/" && path !== "/alternatives/docsend") {+ if (path !== "/" && path !== "/alternatives/docsend" && !path.startsWith("/view/")) {return AppMiddleware(req);}