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:
Shahed Nasser
2024-11-10 08:32:44 +01:00
committed by GitHub
parent 2512eef3f5
commit d0d9bbcca9

View File

@@ -157,6 +157,21 @@ const nextConfig = {
destination: "/:path*",
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
}
]
},
}