config.js
376 Bytes
window._serverHost = ['localhost', '192.168.1.104'].includes(window.location.hostname) ? 'mall.keliuyun.com:9998' : window.location.host
window._baseUrl = ['localhost', '192.168.1.104'].includes(window.location.hostname) ? 'http://mall.keliuyun.com:9998' : `http://${window._serverHost}`
// window._baseUrl = 'http://36.112.68.214:9999'
const log = console.log.bind(console)