Files
udmin/frontend/.env.staging
ayou 7c7adfe71a build(frontend): 添加不同环境的环境变量配置文件
添加开发、预发和生产环境的环境变量配置文件,包含端口、代理路径和API基地址等配置项
2025-08-28 20:59:00 +08:00

14 lines
384 B
Plaintext
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.

# port 端口号staging 本地预览)
VITE_PORT = 8888
# 浏览器自动打开
VITE_OPEN = true
# 预发环境
ENV = 'staging'
# 预发 ADMIN 服务地址(仅本地预览代理使用)
VITE_ADMIN_PROXY_PATH = http://127.0.0.1:9898
# 预发 API 基地址(可填你的预发后端域名,例如 https://staging-api.example.com若留空则使用 /api
VITE_API_BASE =