Merge branch 'main' into feat/domains

This commit is contained in:
Marc Seitz
2023-09-02 13:40:13 +02:00
78 changed files with 4648 additions and 1355 deletions

View File

@@ -31,7 +31,7 @@ export default async function middleware(req: NextRequest, ev: NextFetchEvent) {
return NextResponse.rewrite(url);
}
if (path !== "/" && path !== "/alternatives/docsend") {
if (path !== "/" && path !== "/alternatives/docsend" && !path.startsWith("/view/")) {
return AppMiddleware(req);
}