fix: update backendBaseUrl in next.config.ts to prioritize NEXT_API_BASE_URL

This commit is contained in:
mlogclub
2026-06-13 10:46:20 +08:00
parent daf1a176c1
commit a8755811b5
2 changed files with 4 additions and 2 deletions
+1 -1
View File
@@ -173,7 +173,7 @@ _web-build-spa:
@cd $(WEB_DIR) && $(PNPM) build:sdk && $(PNPM) build
_web-dev:
@cd $(WEB_DIR) && NEXT_PUBLIC_API_BASE_URL="$(DEV_API_BASE_URL)" $(PNPM) dev
@cd $(WEB_DIR) && NEXT_PUBLIC_API_BASE_URL="" NEXT_API_BASE_URL="$(DEV_API_BASE_URL)" $(PNPM) dev
_prepare-dist:
@mkdir -p $(DIST_DIR)