diff --git a/apps/web/next.config.mjs b/apps/web/next.config.mjs index a8369166b3..07947d00ef 100644 --- a/apps/web/next.config.mjs +++ b/apps/web/next.config.mjs @@ -82,6 +82,20 @@ const nextConfig = { ], } }, + async redirects() { + return [ + { + source: '/docs/sandbox-templates/overview', + destination: '/docs/sandbox-template', + permanent: true, + }, + { + source: '/docs/sandbox-templates', + destination: '/docs/sandbox-template', + permanent: true, + }, + ] + }, } export default withSearch(