mirror of
https://github.com/mfts/papermark.git
synced 2025-12-20 01:03:24 +08:00
Update domain.ts
This commit is contained in:
@@ -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),
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user