Skip to content

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

refactor: move old homepage to v1

Marc Seitzdbd28428e3ce
diff --git a/middleware.ts b/middleware.ts
index a1bfee95..1eca561a 100644
--- a/middleware.ts
+++ b/middleware.ts
@@ -34,6 +34,7 @@ export default async function middleware(req: NextRequest, ev: NextFetchEvent) {
if (
path !== "/" &&
+ path !== "/v1" &&
path !== "/register" &&
path !== "/privacy" &&
path !== "/oss-friends" &&
diff --git a/pages/index.tsx b/pages/v1.tsx
similarity index 97%
rename from pages/index.tsx
rename to pages/v1.tsx
index 1e0f1444..52c10449 100644
--- a/pages/index.tsx
+++ b/pages/v1.tsx
@@ -8,7 +8,6 @@ import Testimonials from "@/components/web/testimonials";
import Logos from "@/components/web/logos";
import Head from "next/head";
import Section3 from "@/components/web/section3";
-import Banner from "@/components/web/banner-launch-week";
export default function Home() {
return (