Commit 49e1d47e authored by 沈翠玲's avatar 沈翠玲

后端地址改成8123

parent e4a8fcaf
...@@ -5,4 +5,4 @@ VUE_APP_TITLE = 宝绅系统 ...@@ -5,4 +5,4 @@ VUE_APP_TITLE = 宝绅系统
ENV = 'production' ENV = 'production'
# 若依管理系统/生产环境 # 若依管理系统/生产环境
VUE_APP_BASE_API = '/prod-api' VUE_APP_BASE_API = '/pda-api'
...@@ -6,8 +6,8 @@ RUN echo "server { \ ...@@ -6,8 +6,8 @@ RUN echo "server { \
#80 当前测试环境Nginx端口 \ #80 当前测试环境Nginx端口 \
listen 80; \ listen 80; \
client_max_body_size 50M; \ client_max_body_size 50M; \
location /prod-api/ { \ location /pda-api/ { \
proxy_pass http://192.168.3.91:8100/; \ proxy_pass http://192.168.3.91:8123/; \
proxy_redirect off; \ proxy_redirect off; \
proxy_set_header Host mes-ui; \ proxy_set_header Host mes-ui; \
proxy_set_header X-Real-IP \$remote_addr; \ proxy_set_header X-Real-IP \$remote_addr; \
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
* 全局配置文件 * 全局配置文件
*/ */
export default { export default {
reportUrl: 'http://192.168.3.91:8100/ureport', //test reportUrl: 'http://192.168.3.91:8123/ureport', //test
// reportUrl: 'http://192.168.3.91:8111/ureport', //prod // reportUrl: 'http://192.168.3.91:8111/ureport', //prod
} }
...@@ -36,7 +36,7 @@ module.exports = { ...@@ -36,7 +36,7 @@ module.exports = {
// 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://localhost:8080`, // target: `http://localhost:8080`,
target: `http://192.168.3.91:8100`, target: `http://192.168.3.91:8123`,
// target: `http://192.168.4.122:8080`, // target: `http://192.168.4.122:8080`,
changeOrigin: true, changeOrigin: true,
pathRewrite: { pathRewrite: {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment