mirror of
https://github.com/netbirdio/docs.git
synced 2026-04-16 07:26:35 +00:00
Fix links
This commit is contained in:
@@ -22,22 +22,23 @@ const nextConfig = {
|
||||
experimental: {
|
||||
scrollRestoration: true,
|
||||
},
|
||||
redirects: async () => {
|
||||
rewrites: async () => {
|
||||
return [
|
||||
{
|
||||
source: '/',
|
||||
destination: '/docs/introduction',
|
||||
permanent: true,
|
||||
},
|
||||
{
|
||||
source: '/docs',
|
||||
destination: '/docs/introduction',
|
||||
permanent: true,
|
||||
},
|
||||
{
|
||||
source: '/ipa',
|
||||
source: '/api',
|
||||
destination: '/ipa/introduction',
|
||||
permanent: true,
|
||||
},
|
||||
{
|
||||
source: '/api/:path*',
|
||||
destination: '/ipa/:path*',
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user