第一次提交服务器
This commit is contained in:
@ -2,4 +2,4 @@
|
|||||||
ENV = 'production'
|
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'
|
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 {
|
export default {
|
||||||
data() {
|
data() {
|
||||||
return {
|
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: '',
|
socket: '',
|
||||||
numTop: 0,
|
numTop: 0,
|
||||||
queryParams: {
|
queryParams: {
|
||||||
|
@ -34,7 +34,8 @@ module.exports = {
|
|||||||
proxy: {
|
proxy: {
|
||||||
// detail: https://cli.vuejs.org/config/#devserver-proxy
|
// detail: https://cli.vuejs.org/config/#devserver-proxy
|
||||||
[process.env.VUE_APP_BASE_API]: {
|
[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,
|
changeOrigin: true,
|
||||||
pathRewrite: {
|
pathRewrite: {
|
||||||
['^' + process.env.VUE_APP_BASE_API]: ''
|
['^' + process.env.VUE_APP_BASE_API]: ''
|
||||||
|
Reference in New Issue
Block a user