Merge pull request #3 from cloud-neutral-toolkit/codex/add-proxy-for-neurapress-integration
Add rewrite for editor proxy
This commit is contained in:
commit
d3bb06989a
@ -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