We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 71131a7 commit 4b07332Copy full SHA for 4b07332
app/(home)/page.tsx
@@ -0,0 +1,5 @@
1
+import { redirect } from 'next/navigation';
2
+export default async function Home() {
3
+ redirect('/content');
4
+}
5
+
next.config.mjs
@@ -6,15 +6,6 @@ const withMDX = createMDX();
6
const config = {
7
reactStrictMode: true,
8
output: 'export',
9
- async redirects() {
10
- return [
11
- {
12
- source: '/',
13
- destination: '/content',
14
- permanent: false,
15
- },
16
- ];
17
18
};
19
20
export default withMDX(config);
0 commit comments