From 9314d8cdd5e7a29f1061f59cccd7cce17b7fef3b Mon Sep 17 00:00:00 2001 From: lkk <364857242@qq.com> Date: 星期五, 11 四月 2025 16:14:59 +0800 Subject: [PATCH] 2 --- vue.config.js | 13 ++++++++++++- 1 files changed, 12 insertions(+), 1 deletions(-) diff --git a/vue.config.js b/vue.config.js index e6d5c1c..0e775f0 100644 --- a/vue.config.js +++ b/vue.config.js @@ -53,7 +53,8 @@ // detail: https://cli.vuejs.org/config/#devserver-proxy [process.env.VUE_APP_BASE_API]: { // target: `https://ltpeis.xaltjdkj.cn:5801/`, - target: `http://192.168.1.3:5011`, + // target: `http://192.168.1.2: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