Remove /home rewrite, replace with page
This commit is contained in:
parent
f2d42a6c0c
commit
afd18d19a9
3 changed files with 5 additions and 6 deletions
|
@ -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" })(
|
||||
|
|
3
src/app/(drift)/home/page.tsx
Normal file
3
src/app/(drift)/home/page.tsx
Normal file
|
@ -0,0 +1,3 @@
|
|||
import HomePage from "../page";
|
||||
|
||||
export default HomePage;
|
Loading…
Reference in a new issue