import Vue from 'vue'; Vue.config.weixin = { // baseUrl: process.env.BASE_URL + 'weixin', baseUrl: `http://${location.host}`, }; const prod = { host: 'tehq', login: 'tehq', //visit passcode: 'tehq', //visit123 }; const dev = { host: 'tehqDev', login: 'tehqDev', passcode: 'tehqDev', }; Vue.prototype.$ex = process.env.NODE_ENV === 'development' ? 't_m_dev_local' : 't_m'; Vue.config.stomp = { // brokerURL: 'ws://192.168.1.118/ws', brokerURL: '/ws', // ws://${location.host}/ws // brokerURL: 'ws://127.0.0.1:8000/ws', connectHeaders: process.env.NODE_ENV === 'development' ? dev : prod, // debug: true, reconnectDelay: 5000, heartbeatIncoming: 4000, heartbeatOutgoing: 4000, };