refactor(api): simplify backend proxy to api and biz paths

This commit is contained in:
2026-07-22 17:07:05 +05:30
parent 5d3dac0b21
commit 725c256791
3 changed files with 3 additions and 6 deletions

View File

@@ -11,8 +11,8 @@ const nextConfig: NextConfig = {
async rewrites() {
return [
{
source: '/backend/:path*',
destination: `${backendOrigin}/:path*`,
source: '/:namespace(api|biz)/:path*',
destination: `${backendOrigin}/:namespace/:path*`,
},
];
},