diff --git a/next.config.mjs b/next.config.mjs index 5bca857..a9e01e0 100644 --- a/next.config.mjs +++ b/next.config.mjs @@ -94,4 +94,13 @@ export async function redirects() { ]; } +export async function rewrites() { + return [ + { + source: '/editor/:path*', + destination: 'http://localhost:4000/:path*', + }, + ]; +} + export default nextConfig;