From aee5094c31e3d1fbca688106ba750f4007f1c310 Mon Sep 17 00:00:00 2001 From: Tony Xiao Date: Sun, 26 Nov 2023 09:22:51 -0800 Subject: [PATCH] chore: Redirecting /docs to readme.io --- apps/web/next.config.js | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/apps/web/next.config.js b/apps/web/next.config.js index 24dfe3b7..dd4c9443 100644 --- a/apps/web/next.config.js +++ b/apps/web/next.config.js @@ -39,7 +39,13 @@ const nextConfig = { afterFiles: [], fallback: [], }), - + redirects: async () => [ + { + source: '/docs/:p*', + destination: 'https://usevenice.readme.io/:p*', + permanent: false, + }, + ], swcMinify: true, typescript: {ignoreBuildErrors: true}, eslint: {ignoreDuringBuilds: true},