From 16f6f4c0d4b7414fa4405afb8ee307e07eb00eed Mon Sep 17 00:00:00 2001 From: qx <1084500556@qq.com> Date: 星期五, 27 六月 2025 17:49:41 +0800 Subject: [PATCH] qx --- vue.config.js | 13 ++++++++++++- 1 files changed, 12 insertions(+), 1 deletions(-) diff --git a/vue.config.js b/vue.config.js index a9af51d..10adfd5 100644 --- a/vue.config.js +++ b/vue.config.js @@ -10,7 +10,7 @@ const name = process.env.VUE_APP_TITLE || "鏅烘収鍋ュ悍浣撴绠$悊绯荤粺"; // 缃戦〉鏍囬 const port = process.env.port || process.env.npm_config_port || 80; // 绔彛 - +const generateHash = (str) => require('crypto').createHash('md5').update(str).digest('hex').slice(0, 8); // vue.config.js 閰嶇疆璇存槑 //瀹樻柟vue.config.js 鍙傝�冩枃妗� https://cli.vuejs.org/zh/config/#css-loaderoptions // 杩欓噷鍙垪涓�閮ㄥ垎锛屽叿浣撻厤缃弬鑰冩枃妗� @@ -54,6 +54,7 @@ [process.env.VUE_APP_BASE_API]: { // target: `https://ltpeis.xaltjdkj.cn:5801/`, target: `http://192.168.1.113:5011`, + // target: `http://192.168.1.2: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