Skip to content

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

chore: remove logs

Marc Seitze0ed664d1b3d
diff --git a/middleware.ts b/middleware.ts
index c4749c18..a7fd1aa2 100644
--- a/middleware.ts
+++ b/middleware.ts
@@ -21,9 +21,6 @@ export default async function middleware(req: NextRequest, ev: NextFetchEvent) {
const path = req.nextUrl.pathname;
const host = req.headers.get('host');
- console.log(`>>> ENV: ${process.env.NODE_ENV}`)
- console.log(`>>> Middleware: ${path} ${host}`);
-
if (
process.env.NODE_ENV !== "development" &&
!(host?.includes("papermark.io") || host?.endsWith(".vercel.app"))