From 9f60cae5f48606a0cac8fbc2b31ec03f17833ba7 Mon Sep 17 00:00:00 2001 From: qinxianzhangyao <11053546+qinxianzhangyao@user.noreply.gitee.com> Date: 星期四, 18 七月 2024 16:41:43 +0800 Subject: [PATCH] qxtj --- vue.config.js | 12 +++++++++++- 1 files changed, 11 insertions(+), 1 deletions(-) diff --git a/vue.config.js b/vue.config.js index d2b941f..3c4e20b 100644 --- a/vue.config.js +++ b/vue.config.js @@ -52,7 +52,7 @@ proxy: { // detail: https://cli.vuejs.org/config/#devserver-proxy [process.env.VUE_APP_BASE_API]: { - //target: `https://ltpeis.xaltjdkj.cn:5501/prod-api/getInfo`, + // target: `https://ltpeis.xaltjdkj.cn:5801/`, target: `http://192.168.1.3:5011`, // // target: `http://192.168.0.99:8080/ltkj-admin`, // target: `https://ltpeis.xaltjdkj.cn:5011/ltkj-admin`, @@ -62,6 +62,16 @@ ["^" + process.env.VUE_APP_BASE_API]: "", }, }, + '/douban':{ + target:'http://192.168.1.3:14765', + changeOrigin:true, + ws: true, + pathRewrite: { + '^/douban': '', + }, + + }, + }, disableHostCheck: true, }, -- Gitblit v1.8.0