Files
shanxia2.0/web-admin/.env.development
T

33 lines
1.3 KiB
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.
# Web Admin 开发环境
# 应用部署基础路径
VITE_BASE_URL=/
# 后端 API 基地址(开发环境走 Vite 代理 /api → localhost:8000,避免浏览器跨域)
VITE_API_URL=/api
# 是否携带 cookie
VITE_WITH_CREDENTIALS=false
# API 应用层加密(当前实现使用 VITE_API_ENCRYPT_*)
VITE_API_ENCRYPT_ENABLED=false
VITE_API_ENCRYPT_FAIL_OPEN=false
VITE_API_ENCRYPT_FIXED_SECRET=sqxp-web-api-crypto-fixed-secret
VITE_API_ENCRYPT_EXCLUDE_PATHS=/web/auth/login-rsa-public-key,/web/auth/login,/web/auth/refresh-token,/web/admin/attachment/upload,/web/admin/products/upload-image,/web/admin/categories/upload-image,/web/admin/users/upload-avatar,/api/invoice/download,/web/auth/mp-webview-exchange,/web/auth/wx-qr/create,/web/auth/wx-qr/status
# 代理目标地址(仅用于 /api 代理;保持本地后端)
VITE_API_PROXY_URL=http://localhost:8000
# 是否移除 console
VITE_DROP_CONSOLE=false
# 权限模式(前端固定菜单模式)
VITE_ACCESS_MODE=frontend
# 高德地图 Web JS API(敏感 Key 请写入 .env.development.local / 生产构建环境变量)
# VITE_AMAP_KEY=
# VITE_AMAP_SECURITY_CODE=
# MinIO 文件访问前缀(生产环境通过 nginx 代理,此处留空或指向本地 MinIO)
VITE_MINIO_BASE_URL=http://47.99.164.66:20004/zkxw