第一次提交服务器

This commit is contained in:
熊丽君
2021-08-24 16:11:53 +08:00
parent 16f699f7a4
commit f8cafffbab
4 changed files with 5 additions and 4 deletions

View File

@ -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'

View File

@ -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'

View File

@ -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: {

View File

@ -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]: ''