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 <noreply@anthropic.com>
This commit is contained in:
Naiyuan Qing 2026-02-13 16:59:18 +08:00
parent 003bde460d
commit 8fcc14ceb1

View file

@ -1,6 +1,7 @@
{
"$schema": "https://turbo.build/schema.json",
"globalDependencies": ["tsconfig.json", "tsconfig.base.json"],
"globalEnv": ["API_URL"],
"tasks": {
"build": {
"dependsOn": ["^build"],