diff --git a/next.config.mjs b/next.config.mjs index f148849e876..1ceddb74cec 100644 --- a/next.config.mjs +++ b/next.config.mjs @@ -13,6 +13,15 @@ const withMDX = createMDX({ /** @type {import('next').NextConfig} */ const config = { reactStrictMode: true, + async redirects() { + return [ + { + source: '/build/:path*', + destination: '/:path*', + permanent: true, + }, + ] + }, }; export default withMDX(config);