web
This commit is contained in:
45
admin/.env.prod-us
Normal file
45
admin/.env.prod-us
Normal file
@@ -0,0 +1,45 @@
|
||||
# 美国区生产环境配置
|
||||
NODE_ENV=production
|
||||
|
||||
# API配置
|
||||
VITE_API_BASE_URL=https://us.tral.cc
|
||||
VITE_API_TIMEOUT=15000
|
||||
|
||||
# 应用配置
|
||||
VITE_APP_TITLE=电商管理后台
|
||||
VITE_APP_VERSION=1.0.0
|
||||
VITE_APP_ENV=production-us
|
||||
|
||||
# 构建配置
|
||||
VITE_BUILD_COMPRESS=gzip
|
||||
VITE_BUILD_DROP_CONSOLE=true
|
||||
VITE_BUILD_DROP_DEBUGGER=true
|
||||
|
||||
# 上传配置
|
||||
VITE_UPLOAD_URL=https://us.tral.cc/api/upload
|
||||
VITE_UPLOAD_MAX_SIZE=10485760
|
||||
|
||||
# CDN配置
|
||||
VITE_CDN_URL=https://us-cdn.tral.cc/static
|
||||
|
||||
# 监控配置
|
||||
VITE_SENTRY_DSN=
|
||||
VITE_ENABLE_ANALYTICS=true
|
||||
|
||||
# 安全配置
|
||||
VITE_ENABLE_HTTPS=true
|
||||
VITE_SECURE_COOKIES=true
|
||||
|
||||
# 缓存配置
|
||||
VITE_CACHE_VERSION=v1.0.0
|
||||
VITE_ENABLE_SW=true
|
||||
|
||||
# 第三方服务
|
||||
VITE_MAP_KEY=
|
||||
VITE_OSS_REGION=us-west-1
|
||||
VITE_OSS_BUCKET=
|
||||
|
||||
# 功能开关
|
||||
VITE_ENABLE_MOCK=false
|
||||
VITE_ENABLE_DEVTOOLS=false
|
||||
VITE_ENABLE_VCONSOLE=false
|
||||
Reference in New Issue
Block a user