第一次提交服务器
This commit is contained in:
@ -2,4 +2,4 @@
|
||||
ENV = 'production'
|
||||
|
||||
# 管理系统/生产环境
|
||||
VUE_APP_BASE_API = 'http://140.143.229.114:1818'
|
||||
VUE_APP_BASE_API = 'http://121.5.136.69:1919'
|
||||
|
@ -4,4 +4,4 @@ NODE_ENV = production
|
||||
ENV = 'staging'
|
||||
|
||||
# 管理系统/测试环境
|
||||
VUE_APP_BASE_API = 'http://140.143.229.114:1818'
|
||||
VUE_APP_BASE_API = 'http://121.5.136.69:1919'
|
||||
|
@ -64,7 +64,7 @@ import { getChatRecords, sendMsg, readMsg } from '@/api/service';
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
path: 'ws://192.168.0.125:1919/webStock/' + this.$store.state.user.userId,
|
||||
path: 'ws://121.5.136.69:1919/webStock/' + this.$store.state.user.userId,
|
||||
socket: '',
|
||||
numTop: 0,
|
||||
queryParams: {
|
||||
|
@ -34,7 +34,8 @@ module.exports = {
|
||||
proxy: {
|
||||
// detail: https://cli.vuejs.org/config/#devserver-proxy
|
||||
[process.env.VUE_APP_BASE_API]: {
|
||||
target: `http://192.168.0.125:1919`,
|
||||
// target: `http://192.168.0.125:1919`,
|
||||
target: `http://121.5.136.69:1919`,
|
||||
changeOrigin: true,
|
||||
pathRewrite: {
|
||||
['^' + process.env.VUE_APP_BASE_API]: ''
|
||||
|
Reference in New Issue
Block a user