Add rewrite for editor proxy
This commit is contained in:
parent
43b44341fd
commit
9f343f19f6
@ -94,4 +94,13 @@ export async function redirects() {
|
||||
];
|
||||
}
|
||||
|
||||
export async function rewrites() {
|
||||
return [
|
||||
{
|
||||
source: '/editor/:path*',
|
||||
destination: 'http://localhost:4000/:path*',
|
||||
},
|
||||
];
|
||||
}
|
||||
|
||||
export default nextConfig;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user