From 11f5360a520fe6ba9a6b8b758802a42d8f64266b Mon Sep 17 00:00:00 2001 From: tone Date: Tue, 16 Dec 2025 22:52:33 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=89=8D=E7=AB=AF=E4=BD=BF=E7=94=A8?= =?UTF-8?q?=E7=8E=AF=E5=A2=83=E5=8F=98=E9=87=8F=E9=87=8D=E5=86=99api?= =?UTF-8?q?=E8=B7=AF=E5=BE=84host?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/frontend/next.config.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/frontend/next.config.ts b/apps/frontend/next.config.ts index 0abc8af..056d978 100644 --- a/apps/frontend/next.config.ts +++ b/apps/frontend/next.config.ts @@ -10,7 +10,7 @@ const nextConfig: NextConfig = { return [ { source: '/api/:path*', - destination: 'http://localhost:3001/api/:path*', + destination: `${process.env.API_BASE}/api/:path*`, } ] },