10.10综合交易所原始源码_移动端
1
7 days ago 543735d5141ce80b5f48c1a0d777fc29b0b34c86
src/config/index.js
@@ -42,13 +42,13 @@
//const ENV_DEV = '9d9d8.com' // 填写前端域名网址
// const ENV_DEV = '127.0.0.1' // dev
// const ENV_DEV = '127.0.0.1:8086' // dev
const ENV_DEV = 'api.mak-web3.com' // dev
// const ENV_DEV = '192.168.10.11:8848' // dev
const ENV_DEV = 'zhapi.bitget-jp-us.cyou' // dev
// const ENV_PRO = window.location.hostname // 接口域名跟随 H5
// const ENV_PRO = "127.0.0.1"
// const ENV_PRO = "127.0.0.1:8086"
const ENV_PRO = "api.mak-web3.com"
// const ENV_PRO = "192.168.10.11:8848"
const ENV_PRO = "zhapi.bitget-jp-us.cyou"
// 避免打包出错务必把 app域名的注释要放在在本地ENV_PRO的下面
// const ENV_PRO = 'foilwm.com' //  app域名
@@ -56,8 +56,8 @@
let ws_url = ''
let host_url = ''
if (import.meta.env.MODE === 'development') {
   host_url = 'http://' + ENV_DEV
   base_url = 'http://' + ENV_DEV
   host_url = 'https://' + ENV_DEV
   base_url = 'https://' + ENV_DEV
   ws_url = 'wss://' + ENV_DEV + '/api/websocket'
} else {
   host_url = 'https://' + ENV_PRO
@@ -66,7 +66,7 @@
}
export const BASE_URL = base_url
export const WS_URL = ws_url
export const IMG_PATH = host_url
export const IMG_PATH = 'https://zhimg.bitget-jp-us.cyou'
export const HOST_URL = host_url
export default {