From 8fcc14ceb17ff37321101a6b5b255d5507d941b7 Mon Sep 17 00:00:00 2001 From: Naiyuan Qing <145280634+NevilleQingNY@users.noreply.github.com> Date: Fri, 13 Feb 2026 16:59:18 +0800 Subject: [PATCH] fix(web): add API_URL to turbo.json globalEnv Turborepo was not passing the API_URL environment variable to the build process, causing Next.js rewrites to fall back to the default test API instead of the production API configured in Vercel. Co-Authored-By: Claude Opus 4.5 --- turbo.json | 1 + 1 file changed, 1 insertion(+) diff --git a/turbo.json b/turbo.json index 26442b3f..da43a57e 100644 --- a/turbo.json +++ b/turbo.json @@ -1,6 +1,7 @@ { "$schema": "https://turbo.build/schema.json", "globalDependencies": ["tsconfig.json", "tsconfig.base.json"], + "globalEnv": ["API_URL"], "tasks": { "build": { "dependsOn": ["^build"],