Skip to content

Commit 8fd5d56

Browse files
committed
fix: redirecting /self-hosting page to /self-hosting/docker-compose
1 parent f1b53b0 commit 8fd5d56

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

next.config.js

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,15 @@ const withMarkdoc = require('@markdoc/next.js')
22

33
/** @type {import('next').NextConfig} */
44
const nextConfig = {
5+
async redirects() {
6+
return [
7+
{
8+
source: '/self-hosting',
9+
destination: '/self-hosting/docker-compose',
10+
permanent: true,
11+
},
12+
]
13+
},
514
reactStrictMode: true,
615
pageExtensions: ['js', 'jsx', 'md'],
716
experimental: {

0 commit comments

Comments
 (0)