docs: add common redirects to v1 docs (#9832)
Add common redirects to v1 docs that don't affect v2 docs
This commit is contained in:
@@ -157,6 +157,21 @@ const nextConfig = {
|
|||||||
destination: "/:path*",
|
destination: "/:path*",
|
||||||
permanent: true,
|
permanent: true,
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
source: "/recipes/:path*",
|
||||||
|
destination: "/resources/recipes",
|
||||||
|
permanent: true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
source: "/plugins/:path*",
|
||||||
|
destination: "/v1/plugins/:path*",
|
||||||
|
permanent: true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
source: "/medusa-react/:path*",
|
||||||
|
destination: "/v1/medusa-react/:path*",
|
||||||
|
permanent: true
|
||||||
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user