front/.env.development
zzh 2a51677908
All checks were successful
Build and Deploy Front / deploy (push) Successful in 5m40s
fix: 开发代理避免 CORS,ideship Track 路径去重段
本地开发改为同源代理到生产/测试 API;ideship 将 /Track/Track 归一为 /track/Track,避免 404。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-09 12:53:02 +08:00

14 lines
592 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# =============================================================================
# 本地开发默认 → 测试环境(Vite 代理到 api.nanafa.com,无浏览器 CORS)
# 切生产:pnpm dev:ideship
# =============================================================================
VITE_DEPLOY_TARGET=nanafa
VITE_OMS_ADMIN_URL=http://api.nanafa.com/admin
VITE_API_ORIGIN=http://api.nanafa.com
VITE_WECOM_KF_URL=https://work.weixin.qq.com/kfid/kfcae09c206f6c7045a
VITE_ZHIPU_API_KEY=85bbbef6bafd4ca383eef04189decd07.lKVQHcLGtYE8oUn5
VITE_ZHIPU_BASE_URL=/zhipu-api
VITE_ZHIPU_MODEL=glm-5.1