From d743f36ba791729392dcfa0fbe7270edeca18df6 Mon Sep 17 00:00:00 2001 From: Joshua Higgins Date: Fri, 9 Oct 2026 13:53:21 -0400 Subject: [PATCH] fix(web): remove the temporary carousel preview route The preview page and its dev-only access were only used to check heading alignment. Co-authored-by: Cursor --- apps/web/app/(app)/carousel-preview/page.tsx | 33 -------------------- apps/web/next.config.ts | 1 - apps/web/proxy.ts | 1 - 3 files changed, 35 deletions(-) delete mode 100644 apps/web/app/(app)/carousel-preview/page.tsx diff --git a/apps/web/app/(app)/carousel-preview/page.tsx b/apps/web/app/(app)/carousel-preview/page.tsx deleted file mode 100644 index 9fba8ff..0000000 --- a/apps/web/app/(app)/carousel-preview/page.tsx +++ /dev/null @@ -1,33 +0,0 @@ -"use client" - -import { ContentCarousel } from "@/components/content-carousel" -import type { Id } from "@otunes/convex/_generated/dataModel" -import type { BrowseAlbum } from "@otunes/convex/types" - -const albums: BrowseAlbum[] = Array.from({ length: 8 }, (_, index) => ({ - id: `album-${index}` as Id<"albums">, - title: `Album ${index + 1}`, - cover: null, - artist: { - id: "artist-1" as Id<"artists">, - name: "Preview Artist", - photo: null, - }, -})) - -export default function CarouselPreviewPage() { - return ( -
- - -
- ) -} diff --git a/apps/web/next.config.ts b/apps/web/next.config.ts index 7efe7a8..0cb8c5b 100644 --- a/apps/web/next.config.ts +++ b/apps/web/next.config.ts @@ -2,7 +2,6 @@ import path from "node:path" import type { NextConfig } from "next" const nextConfig: NextConfig = { - allowedDevOrigins: ["192.168.86.253"], output: "standalone", outputFileTracingRoot: path.join(__dirname, "../../"), experimental: { diff --git a/apps/web/proxy.ts b/apps/web/proxy.ts index 4360162..342af0d 100644 --- a/apps/web/proxy.ts +++ b/apps/web/proxy.ts @@ -14,7 +14,6 @@ const isPublic = createRouteMatcher([ "/artist/:id", "/artists/:id", "/playlist/:id", - "/carousel-preview", ]) export default convexAuthNextjsMiddleware(