From d0d9bbcca9e1e8061c65e48dcdc4077e9ac35cbc Mon Sep 17 00:00:00 2001 From: Shahed Nasser Date: Sun, 10 Nov 2024 08:32:44 +0100 Subject: [PATCH] docs: add common redirects to v1 docs (#9832) Add common redirects to v1 docs that don't affect v2 docs --- www/apps/book/next.config.mjs | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/www/apps/book/next.config.mjs b/www/apps/book/next.config.mjs index eebdff3306..f460bf4d23 100644 --- a/www/apps/book/next.config.mjs +++ b/www/apps/book/next.config.mjs @@ -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 + } ] }, }