提交 314255aa authored 作者: 吕本才's avatar 吕本才

部署优化

上级 d90829b7
......@@ -9,3 +9,4 @@ VUE_APP_BASE_API = ''
# 路由懒加载
VUE_CLI_BABEL_TRANSPILE_MODULES = true
port= 1024
\ No newline at end of file
......@@ -6,3 +6,4 @@ ENV = 'production'
# 若水数据中台/生产环境
VUE_APP_BASE_API = '/prod-api'
port= 10004
\ No newline at end of file
......@@ -16,8 +16,7 @@ node_modules/
.idea
*.lock
package-lock.json
dist/
# Project files, i.e. `.project`, `.actionScriptProperties` and `.flexProperties`
# should NOT be excluded as they contain compiler settings and other important
......
......@@ -33,8 +33,8 @@ module.exports = {
proxy: {
// detail: https://cli.vuejs.org/config/#devserver-proxy
[process.env.VUE_APP_BASE_API]: {
// target: `http://192.168.172.235:8080`,
target: `http://localhost:8081`,
// target: `http://192.168.100.138:1001`,
// target: `http://localhost:8081`,
// target: `http://192.168.172.173:8080`,
changeOrigin: true,
pathRewrite: {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论