Skip to content

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

Update domain.ts

Marc Seitz4fe4c05d9aea
diff --git a/lib/middleware/domain.ts b/lib/middleware/domain.ts
index f342f9eb..125e9658 100644
--- a/lib/middleware/domain.ts
+++ b/lib/middleware/domain.ts
@@ -26,6 +26,12 @@ export default async function DomainMiddleware(req: NextRequest) {
);
}
+ if (host === "partners.braxtech.net") {
+ return NextResponse.redirect(
+ new URL("https://partners.braxtech.net/investors", req.url),
+ );
+ }
+
return NextResponse.redirect(
new URL("https://www.papermark.com/home", req.url),
);