mirror of
https://gitee.com/h_mo/uniapp-vue3-vite-ts-template
synced 2025-04-05 19:41:44 +08:00
23 lines
430 B
Plaintext
23 lines
430 B
Plaintext
# 运行环境
|
|
VITE_PROD = false
|
|
VITE_DEV = true
|
|
|
|
#ifdef H5
|
|
# BASE_URL
|
|
VITE_BASE_URL = /api
|
|
|
|
# PROXY_BASE_URL
|
|
# 仅H5跨域需使用proxy,其他端请直接设置 VITE_BASE_URL 即可
|
|
VITE_PROXY_BASE_URL = http://api-catch.ranesuangyu.top
|
|
|
|
# 上传域名
|
|
VITE_UPLOAD_URL = /upload
|
|
|
|
# 代理上传域名
|
|
VITE_PROXY_UPLOAD_URL = 'YOUR UPLOAD URL'
|
|
#endif
|
|
|
|
#ifndef H5
|
|
# BASE_URL
|
|
VITE_BASE_URL = http://api-catch.ranesuangyu.top
|
|
#endif |