Commit e8979c00 authored by caicaicai's avatar caicaicai

修改

parent cf3357ec
// 项目配置相关
const config = {
// BASE_URL: 'http://192.168.9.2:8001', //线上地址2
// REAL_URL: 'http://192.168.9.2:8001', //线上地址2
// BASE_URL: 'http://8.143.203.103:9090', //线上地址2
// REAL_URL: 'http://8.143.203.103:9090', //线上地址2
BASE_URL: 'http://192.168.0.110:8001',
REAL_URL: 'http://192.168.0.110:8001',
......
......@@ -234,8 +234,8 @@ export default {
//初始化weosocket
initWebSocket(){
//const wsuri = "ws://114.116.108.246:81/websocket/socketServer?userId="+userId;//连接地址,可加参数
const wsuri = 'ws://8.143.203.103:9090/webSocket' + '/' + this.userName1;
//const wsuri = 'ws://8.143.203.103:9090/webSocket' + '/' + this.userName1;
const wsuri = 'ws://192.168.0.111:8001/webSocket' + '/' + this.userName1;
this.websocket = new WebSocket(wsuri);
this.websocket.onopen = this.websocketonopen;
this.websocket.onerror = this.websocketonerror;
......
......@@ -18,13 +18,13 @@ module.exports = {
proxy: {
// '/dianziweilan': {
// target: 'http://192.168.9.2:8080'
// target: 'http://8.143.203.103:9090'
// },
// '/auth': {
// target: 'http://192.168.9.2:8001',
// target: 'http://8.143.203.103:9090',
// },
// '/pic': {
// target: 'http://192.168.9.2/avatar/',
// target: 'http://8.143.203.103/avatar/',
// pathRewrite: { '^/pic': '' },
// changeOrigin: true,
// },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment