fix(task-024): make demo browser flow reachable

This commit is contained in:
2026-05-22 20:31:17 +03:00
parent 5f3e543ea2
commit b8937d2864
18 changed files with 175 additions and 27 deletions
+9
View File
@@ -7,6 +7,15 @@ const repoRoot = resolve(dirname(fileURLToPath(import.meta.url)), "../..");
const nextConfig = {
reactStrictMode: true,
outputFileTracingRoot: repoRoot,
async rewrites() {
const backendUrl = process.env.BACKEND_URL ?? "http://localhost:8000";
return [
{
source: "/api/:path*",
destination: `${backendUrl}/api/:path*`,
},
];
},
turbopack: {
root: repoRoot,
},