Skip to content

Commit d9676a8

Browse files
authored
docs: fix overview redirect (#433)
Remove the overview stub page and handle the redirect via next config.
1 parent a0c3e0c commit d9676a8

File tree

2 files changed

+9
-5
lines changed

2 files changed

+9
-5
lines changed

website/home/app/overview/page.tsx

-5
This file was deleted.

website/home/next.config.ts

+9
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,15 @@ const nextConfig = {
2424
},
2525
];
2626
},
27+
async redirects() {
28+
return [
29+
{
30+
source: "/overview",
31+
destination: `${DOCS_URL}/docs`,
32+
permanent: false,
33+
},
34+
];
35+
},
2736
};
2837

2938
module.exports = nextConfig;

0 commit comments

Comments
 (0)