Files
profession-web/.env.dev
T
lijing 35d0df3e44
build / build (push) Successful in 4m9s
feat: 顶栏新增「发展首页」入口,跳转前台 front 应用
- layout.vue:顶栏加 icon-shouye 图标,按当前部署路径推导 /{ctx}/front/#/home
  (本地 dev 无 contextPath 时退化为 http://localhost:8081/)
- .env.dev:注释里本地后端端口订正为 8107
- .gitignore:忽略 dist_old/ dist_old2/ 构建产物备份
2026-10-09 09:33:15 +08:00

13 lines
821 B
Bash
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.
# 开发环境 (dev):仅 vite dev --mode dev 加载;build 产物不读任何 .env.*
# (.env.base/.env.ld/.env.prod 已删,线上由 /api/env-config?target=front 运行时下发)。
# ⚠️ VITE_* 仅本地开发生效。
# API 走 /api 同源相对路径(vite proxy 转发到本地后端 8105),
# 规避后端 CAS 过滤器不回 CORS 头导致的跨域拦截;SSO/基础平台用真实环境
VITE_BASE_HOST=http://base.yunhaixingtong.com
VITE_SSO_HOST=http://sso.yunhaixingtong.com
# 留空 → serviceHost 走同源相对 /api(经 vite 代理到本地后端 8107);填绝对地址会绕过代理直连该域
VITE_SERVICE_HOST=http://base.yunhaixingtong.com/profession/
VITE_ZIYUANKU_HOST=https://base.bestsch.com/BschZyk
VITE_ZHUANXIANG_HOST=https://base.bestsch.com/BschZncpd
VITE_IS_MOCK=false