更新默认文件

This commit is contained in:
evoxwht 2023-07-15 15:07:03 +08:00
parent e5e882e4f7
commit 831d4df3d8
2 changed files with 3 additions and 3 deletions

View File

@ -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 = {
// 路由前缀

View File

@ -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