Fix links

This commit is contained in:
braginini
2023-05-23 20:09:00 +02:00
parent 8d3ca83eb0
commit f8b79ddcd8
13 changed files with 56 additions and 55 deletions

View File

@@ -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*',
}
]
}