Merge pull request #3 from cloud-neutral-toolkit/codex/add-proxy-for-neurapress-integration

Add rewrite for editor proxy
This commit is contained in:
cloudneutral 2025-12-15 07:35:35 +08:00 committed by GitHub
commit d3bb06989a

View File

@ -94,4 +94,13 @@ export async function redirects() {
];
}
export async function rewrites() {
return [
{
source: '/editor/:path*',
destination: 'http://localhost:4000/:path*',
},
];
}
export default nextConfig;