Remove /home rewrite, replace with page

pull/141/head
Max Leiter 3 years ago
parent f2d42a6c0c
commit afd18d19a9

@ -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" })(

@ -0,0 +1,3 @@
import HomePage from "../page";
export default HomePage;

@ -100,4 +100,4 @@ async function PublicPostList() {
const clientPosts = posts.map((post) => serverPostToClientPost(post))
return <PostList initialPosts={clientPosts} hideActions hideSearch />
}
}
Loading…
Cancel
Save