mirror of
https://gitee.com/h_mo/uniapp-vue3-vite-ts-template
synced 2025-04-06 03:58:03 +08:00
chore-修改base_url配置
This commit is contained in:
parent
9fba54dd1a
commit
d8e56b07dd
@ -2,6 +2,7 @@
|
|||||||
VITE_PROD = false
|
VITE_PROD = false
|
||||||
VITE_DEV = true
|
VITE_DEV = true
|
||||||
|
|
||||||
|
#ifdef H5
|
||||||
# BASE_URL
|
# BASE_URL
|
||||||
VITE_BASE_URL = /api
|
VITE_BASE_URL = /api
|
||||||
|
|
||||||
@ -14,3 +15,9 @@ VITE_UPLOAD_URL = /upload
|
|||||||
|
|
||||||
# 代理上传域名
|
# 代理上传域名
|
||||||
VITE_PROXY_UPLOAD_URL = 'YOUR UPLOAD URL'
|
VITE_PROXY_UPLOAD_URL = 'YOUR UPLOAD URL'
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifndef H5
|
||||||
|
# BASE_URL
|
||||||
|
VITE_BASE_URL = http://api-catch.ranesuangyu.top
|
||||||
|
#endif
|
@ -3,7 +3,7 @@ VITE_PROD = true
|
|||||||
VITE_DEV = false
|
VITE_DEV = false
|
||||||
|
|
||||||
# api域名
|
# api域名
|
||||||
VITE_BASE_URL = 'YOUR API URL'
|
VITE_BASE_URL = http://api-catch.ranesuangyu.top
|
||||||
|
|
||||||
# 上传域名
|
# 上传域名
|
||||||
VITE_UPLOAD_URL = 'YOUR UPLOAD URL'
|
VITE_UPLOAD_URL = http://api-catch.ranesuangyu.top/upload
|
||||||
|
Loading…
x
Reference in New Issue
Block a user