Skip to content

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

chore: remove middleware condition

Marc Seitz287ceb937a11
diff --git a/middleware.ts b/middleware.ts
index 74bed395..7bffc73f 100644
--- a/middleware.ts
+++ b/middleware.ts
@@ -25,7 +25,6 @@ export default async function middleware(req: NextRequest, ev: NextFetchEvent) {
process.env.NODE_ENV !== "development" &&
!(
host?.includes("papermark.io") ||
- host?.includes("preview.papermark.io") ||
host?.endsWith(".vercel.app")
)
) {