front/.env.ideship
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

10 lines
496 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.

# =============================================================================
# 本地开发直连生产 API(ideship)— pnpm dev:ideship
# 浏览器仍请求 localhost,由 Vite 代理到 api.ideship.com(避免 CORS)
# =============================================================================
VITE_DEPLOY_TARGET=ideship
VITE_OMS_ADMIN_URL=https://api.ideship.com/admin
VITE_API_ORIGIN=https://api.ideship.com
VITE_WECOM_KF_URL=https://work.weixin.qq.com/kfid/kfcae09c206f6c7045a