From 13a54edccbce93c009e0e964e54bb064ab1df18b Mon Sep 17 00:00:00 2001 From: limingguang Date: Wed, 18 Mar 2020 19:23:48 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E9=85=8D=E7=BD=AE?= =?UTF-8?q?=E6=96=87=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- chatRoom/config/dev.env.js | 2 +- chatRoom/config/index.js | 2 +- chatRoom/config/prod.env.js | 2 +- chatRoom/index.html | 2 +- chatRoom/package-lock.json | 13982 ++++++++++++++++++++++++++++++++++ 5 files changed, 13986 insertions(+), 4 deletions(-) create mode 100644 chatRoom/package-lock.json diff --git a/chatRoom/config/dev.env.js b/chatRoom/config/dev.env.js index 7d4914c..a68e5e9 100644 --- a/chatRoom/config/dev.env.js +++ b/chatRoom/config/dev.env.js @@ -5,5 +5,5 @@ const prodEnv = require('./prod.env') module.exports = merge(prodEnv, { NODE_ENV: '"development"', IMG_URL: '"http://localhost:9988"', - SOCKETIO: '"http://localhost:9988/"' + SOCKETIO: '"http://47.100.179.49:9988/"' }); diff --git a/chatRoom/config/index.js b/chatRoom/config/index.js index 214ecaa..03a2732 100644 --- a/chatRoom/config/index.js +++ b/chatRoom/config/index.js @@ -12,7 +12,7 @@ module.exports = { assetsPublicPath: '/', proxyTable: { '/v': { - target: 'http://localhost:9988', + target: 'http://47.100.179.49:9988', changeOrigin: true // 是否在本机创建target地址的虚拟服务,避免跨域问题 }, '/api': { diff --git a/chatRoom/config/prod.env.js b/chatRoom/config/prod.env.js index 442d296..dae0326 100644 --- a/chatRoom/config/prod.env.js +++ b/chatRoom/config/prod.env.js @@ -2,5 +2,5 @@ module.exports = { NODE_ENV: '"production"', IMG_URL: '""', - SOCKETIO: '"http://localhost:9988/"' + SOCKETIO: '"https://im.i-zuche.cn/"' }; diff --git a/chatRoom/index.html b/chatRoom/index.html index f96bbcf..ad5d546 100644 --- a/chatRoom/index.html +++ b/chatRoom/index.html @@ -4,7 +4,7 @@ vChat - +