From 2ab2dcd91a6ee60fa907fd3c667ed174f17f13b5 Mon Sep 17 00:00:00 2001 From: su1124 <1583764726@qq.com> Date: 星期四, 15 八月 2024 09:01:59 +0800 Subject: [PATCH] su --- vue.config.js | 10 ++++++++++ 1 files changed, 10 insertions(+), 0 deletions(-) diff --git a/vue.config.js b/vue.config.js index a9af51d..0bcde09 100644 --- a/vue.config.js +++ b/vue.config.js @@ -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