diff --git a/next.config.mjs b/next.config.mjs index 7786a8f..23fcce8 100644 --- a/next.config.mjs +++ b/next.config.mjs @@ -14,10 +14,6 @@ const nextConfig = { source: "/file/raw/:id", destination: `/api/raw/:id` }, - { - source: "/home", - destination: "/" - } ] }, images: { @@ -25,7 +21,7 @@ const nextConfig = { }, env: { NEXT_PUBLIC_DRIFT_URL: process.env.DRIFT_URL - }, + } } export default bundleAnalyzer({ enabled: process.env.ANALYZE === "true" })( diff --git a/src/app/(drift)/home/page.tsx b/src/app/(drift)/home/page.tsx new file mode 100644 index 0000000..5b871a8 --- /dev/null +++ b/src/app/(drift)/home/page.tsx @@ -0,0 +1,3 @@ +import HomePage from "../page"; + +export default HomePage; diff --git a/src/app/(drift)/page.tsx b/src/app/(drift)/page.tsx index 02d8320..8c10470 100644 --- a/src/app/(drift)/page.tsx +++ b/src/app/(drift)/page.tsx @@ -100,4 +100,4 @@ async function PublicPostList() { const clientPosts = posts.map((post) => serverPostToClientPost(post)) return -} +} \ No newline at end of file