From 84d7b5e9b0a31c1e18dc52b3d69b1cadf96938e7 Mon Sep 17 00:00:00 2001 From: wwl <xchao828@163.com> Date: 星期五, 06 十二月 2024 17:47:57 +0800 Subject: [PATCH] 报错提示 --- vue.config.js | 15 +++++++++++++-- 1 files changed, 13 insertions(+), 2 deletions(-) diff --git a/vue.config.js b/vue.config.js index 697baa5..fc036f6 100644 --- a/vue.config.js +++ b/vue.config.js @@ -52,8 +52,9 @@ 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: `http://192.168.0.108:5011`, + // target: `https://ltpeis.xaltjdkj.cn:5801/`, + // target: `http://192.168.1.3:5011`, + target: `http://192.168.1.113:5011`, // // target: `http://192.168.0.99:8080/ltkj-admin`, // target: `https://ltpeis.xaltjdkj.cn:5011/ltkj-admin`, // target: `http://10.168.0.9:5011`, @@ -62,6 +63,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