Merge branch 'main' into feat/passkey

This commit is contained in:
Marc Seitz
2023-12-06 17:54:10 +11:00
92 changed files with 4583 additions and 650 deletions

View File

@@ -23,7 +23,11 @@ export default async function middleware(req: NextRequest, ev: NextFetchEvent) {
if (
process.env.NODE_ENV !== "development" &&
!(host?.includes("papermark.io") || host?.endsWith(".vercel.app"))
!(
host?.includes("localhost") ||
host?.includes("papermark.io") ||
host?.endsWith(".vercel.app")
)
) {
return DomainMiddleware(req);
}
@@ -37,6 +41,8 @@ export default async function middleware(req: NextRequest, ev: NextFetchEvent) {
path !== "/docsend-alternatives" &&
path !== "/launch-week" &&
path !== "/open-source-investors" &&
path !== "/ai" &&
path !== "/share-notion-page" &&
!path.startsWith("/alternatives/") &&
!path.startsWith("/blog/") &&
!path.startsWith("/view/")