Files
open-gateway-front/.env.dev
chenxing bed87ced52 feat(front): 网关台账前端——台账/路由/目标三页+重载注册表
- 与 notice 同形态:hash 路由 + TablePageAlovaNew 分页 + alova 信封分支
- API 层手写(文档端点仅容器网内可达,api:gen 无通路),键名对齐后端 operationId
- 审计修复:outDir 回 dist 根(CI zip 根须含 html)、main.ts 显式引入 @/api 挂载全局 Apis、
  保存失败重拉回滚、路由页补只读 timeout/bodyLimit 列、详情弹窗 backendCode 恒空说明
2026-09-23 14:28:10 +08:00

8 lines
483 B
Bash
Raw Permalink 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)。
# serviceHost 用同源前缀 /open-gateway,由 vite.config.ts 的 server.proxy 转发到 base 域,
# 避免跨源:网关无 CORS,且 10013 仅绑容器网内 127.0.0.1。
# 线上产物不读本文件(build 为 production mode),serviceHost 由 host.config.ts 同域推导
# (/open-gateway/front/ → 首段 open-gateway → ${origin}/open-gateway)。
VITE_SERVICE_HOST=/open-gateway
VITE_IS_MOCK=false