20 lines
688 B
Bash
20 lines
688 B
Bash
# Public CDN/OSS base for static images & audio (no trailing slash).
|
|
# Object layout: {VITE_OSS_BASE}/assets/... → oss://dukang-prod/dukang_office/assets/...
|
|
#
|
|
# Used by:
|
|
# .env.development → npm run dev
|
|
# .env.production → npm run build
|
|
#
|
|
# Examples:
|
|
# VITE_OSS_BASE=https://dukang-prod.oss-cn-hangzhou.aliyuncs.com/dukang_office
|
|
# VITE_OSS_BASE=https://cdn.dukanghaoke.com/dukang_office
|
|
# Leave empty only if you intentionally want local /assets during that mode.
|
|
VITE_OSS_BASE=
|
|
|
|
# --- For npm run oss:sync only (do not commit secrets) ---
|
|
# OSS_REGION=oss-cn-hangzhou
|
|
# OSS_BUCKET=dukang-prod
|
|
# OSS_PREFIX=dukang_office
|
|
# OSS_ACCESS_KEY_ID=
|
|
# OSS_ACCESS_KEY_SECRET=
|