yunsan-pc/.env.development

15 lines
805 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

# 开发环境配置
# 留空则通过 vite proxy 代理到 http://101.133.172.2:8082
VITE_API_BASE_URL=
# ===== mineru_ai_chat 智能问答(iframe 免登集成) =====
# 问答服务地址(本地调试指向本机后端;上线改为 http://192.168.16.49:8081)
VITE_AI_CHAT_BASE=http://localhost:8081
# 问答页面前端地址(iframe 加载用;本地开发是 Vite 5173,生产留空即与 BASE 同源)
VITE_AI_CHAT_WEB=http://localhost:5173
# 免登密钥,须与 mineru 后端 SSO_SECRET 一致。
# 注意:本密钥会随前端打包暴露,后端已做安全边界——该通道仅能开通 viewer
# (普通问答访客)账号,无法冒充 editor/admin 等特权账号。
VITE_AI_CHAT_SECRET=yunsan-sso-dev-secret
VITE_AI_CHAT_TITLE=AI问答(快速查询应急方案)