1
This commit is contained in:
@@ -5,12 +5,12 @@ const nextConfig = {
|
||||
output: "standalone",
|
||||
async rewrites() {
|
||||
return [
|
||||
{ source: "/health", destination: `${backendUrl}/health` },
|
||||
{ source: "/settings/:path*", destination: `${backendUrl}/settings/:path*` },
|
||||
{ source: "/subjects/:path*", destination: `${backendUrl}/subjects/:path*` },
|
||||
{ source: "/sources/:path*", destination: `${backendUrl}/sources/:path*` },
|
||||
{ source: "/documents/:path*", destination: `${backendUrl}/documents/:path*` },
|
||||
{ source: "/jobs/:path*", destination: `${backendUrl}/jobs/:path*` },
|
||||
{ source: "/api/health", destination: `${backendUrl}/health` },
|
||||
{ source: "/api/settings/:path*", destination: `${backendUrl}/settings/:path*` },
|
||||
{ source: "/api/subjects/:path*", destination: `${backendUrl}/subjects/:path*` },
|
||||
{ source: "/api/sources/:path*", destination: `${backendUrl}/sources/:path*` },
|
||||
{ source: "/api/documents/:path*", destination: `${backendUrl}/documents/:path*` },
|
||||
{ source: "/api/jobs/:path*", destination: `${backendUrl}/jobs/:path*` },
|
||||
];
|
||||
},
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user