mirror of
https://github.com/crmeb/CRMEB.git
synced 2026-10-29 05:50:50 +00:00
更新默认文件
This commit is contained in:
parent
e5e882e4f7
commit
831d4df3d8
@ -1,5 +1,5 @@
|
||||
// 请求接口地址 如果没有配置自动获取当前网址路径
|
||||
const VUE_APP_API_URL = 'https://bz.wuht.net/adminapi' || process.env.VUE_APP_API_URL || `${location.origin}/adminapi`;
|
||||
const VUE_APP_API_URL = process.env.VUE_APP_API_URL || `${location.origin}/adminapi`;
|
||||
|
||||
const Setting = {
|
||||
// 路由前缀
|
||||
|
||||
@ -2,13 +2,13 @@ module.exports = {
|
||||
// 小程序配置
|
||||
// #ifdef MP || APP-PLUS
|
||||
// 请求域名 格式: https://您的域名
|
||||
HTTP_REQUEST_URL: `https://v4.crmeb.net`,
|
||||
HTTP_REQUEST_URL: `https://demo.crmeb.com`,
|
||||
// #endif
|
||||
|
||||
// H5配置
|
||||
// #ifdef H5
|
||||
//H5接口是浏览器地址,非单独部署不用修改
|
||||
HTTP_REQUEST_URL: `https://bz.wuht.net` || window.location.protocol + "//" + window.location.host,
|
||||
HTTP_REQUEST_URL: window.location.protocol + "//" + window.location.host,
|
||||
// #endif
|
||||
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user