From 86fbcfcf7766019d5e78abbf72291e95f297fbbb Mon Sep 17 00:00:00 2001 From: Claude Date: Thu, 2 Apr 2026 18:31:38 +0000 Subject: [PATCH] Set proxy fallback to https://api.cv.alves.world https://claude.ai/code/session_01Xmxm2QLgFBgRJyYD6VukR6 --- apps/webapp/next.config.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/apps/webapp/next.config.ts b/apps/webapp/next.config.ts index e86565c..6676648 100644 --- a/apps/webapp/next.config.ts +++ b/apps/webapp/next.config.ts @@ -4,9 +4,7 @@ import path from "node:path"; const nextConfig: NextConfig = { outputFileTracingRoot: path.join(process.cwd(), "../.."), async rewrites() { - // In Docker (Dokploy/compose) the backend container is always reachable at cvfs-backend:8080. - // Override with API_BASE_URL for local dev (e.g. http://localhost:9812). - const backend = process.env.API_BASE_URL ?? "http://cvfs-backend:8080"; + const backend = process.env.API_BASE_URL ?? "https://api.cv.alves.world"; return [{ source: "/api/:path*", destination: `${backend}/api/:path*` }]; }, };