添加测试号、生产环境可以查看debug
This commit is contained in:
11
env/.env
vendored
11
env/.env
vendored
@ -5,18 +5,21 @@ VITE_UNI_APPID = '__UNI__D1E5001'
|
||||
VITE_WX_APPID = 'wxa2abb91f64032a2b'
|
||||
|
||||
# h5部署网站的base,配置到 manifest.config.ts 里的 h5.router.base
|
||||
VITE_APP_PUBLIC_BASE=/
|
||||
VITE_APP_PUBLIC_BASE = '/h5'
|
||||
|
||||
# 登录页面
|
||||
VITE_LOGIN_URL = '/pages/login/login'
|
||||
# 第一个请求地址
|
||||
VITE_SERVER_BASEURL = 'https://mnp.zhuzhuda.cn'
|
||||
VITE_SERVER_BASEURL = 'https://cz.stnav.com/gzhapi'
|
||||
|
||||
VITE_UPLOAD_BASEURL = 'https://mnp.zhuzhuda.cn/upload'
|
||||
VITE_UPLOAD_BASEURL = 'https://cz.stnav.com/upload'
|
||||
|
||||
# h5是否需要配置代理
|
||||
VITE_APP_PROXY=false
|
||||
VITE_APP_PROXY_PREFIX = '/api'
|
||||
|
||||
# 第二个请求地址 (目前alova中可以使用)
|
||||
VITE_API_SECONDARY_URL = 'https://mnp.zhuzhuda.cn'
|
||||
VITE_API_SECONDARY_URL = 'https://cz.stnav.com'
|
||||
|
||||
# 公众号APPID
|
||||
VITE_WX_SERVICE_ACCOUNT_APPID = 'wx0224f558e3b3f499'
|
||||
|
||||
2
env/.env.production
vendored
2
env/.env.production
vendored
@ -1,6 +1,6 @@
|
||||
# 变量必须以 VITE_ 为前缀才能暴露给外部读取
|
||||
NODE_ENV = 'development'
|
||||
# 是否去除console 和 debugger
|
||||
VITE_DELETE_CONSOLE = true
|
||||
VITE_DELETE_CONSOLE = false
|
||||
# 是否开启sourcemap
|
||||
VITE_SHOW_SOURCEMAP = false
|
||||
|
||||
Reference in New Issue
Block a user