Compare commits

..

No commits in common. "e770d2dc19d34a7b2698cc60bc7d7857281987ef" and "d538586109e2c22cf3b9168131a9a435d6692a96" have entirely different histories.

3 changed files with 28 additions and 17475 deletions

4
env.js
View File

@ -8,8 +8,8 @@ module.exports = {
// 开发环境 接口请求地址 (http)或(https)://www.a.com(换成你的域名)/api
dev: {
MODE: 'dev',
// VUE_APP_API_URL: 'http://122.51.230.86:8099/',
VUE_APP_API_URL: 'http://localhost:8099/',
VUE_APP_API_URL: 'http://122.51.230.86:8099/',
// VUE_APP_API_URL: 'http://192.168.1.4:8099/',
VUE_APP_WEBSOCKET: 'ws://localhost:8099/ws/asset/'
},
// 生产环境 接口请求地址 (http)或(https)://www.a.com(换成你的域名)/api 非独立部署默认为空

17497
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -111,7 +111,7 @@ export default {
this.$axios.$post('/web/chatMain', data).then((res) => {
if (res.id != null) {
this.chatMain = res;
const websocketUrl = process.env.NUXT_ENV.VUE_APP_WEBSOCKET+`${fingerprintHash}`;
const websocketUrl = `ws://localhost:8099/ws/asset/${fingerprintHash}`;
// Vuex dispatchWebSocket
this.$store.dispatch('modules/websocket/websocket_init', websocketUrl)
.then(() => {