123456789101112131415161718192021 |
- import Vue from 'vue'
- Vue.config.stomp = {
- host: `wss://${location.host}/ws`,
- // host: 'wss://172.17.116.7:15674/', // ws://${location.host}/ws
- connectHeaders: {
- host: 'smart',
- login: 'smart',
- passcode: 'smart123'
- },
- reconnectDelay: 5000,
- heartbeatIncoming: 4000,
- heartbeatOutgoing: 4000,
- debug: false
- }
- Vue.config.weixin = {
- // baseUrl: process.env.BASE_URL + 'weixin',
- baseUrl: `http://${location.host}`
- // baseUrl: 'http://192.168.0.81:8001'
- }
|