From d05d95424986dc6e8defefb24fab6dc62e37ee08 Mon Sep 17 00:00:00 2001 From: songshankun <songshankun@foxmail.com> Date: 星期六, 21 十月 2023 16:23:05 +0800 Subject: [PATCH] Merge branch 'dev' into songshankun/adjust-style --- vue.config.js | 33 +++++---------------------------- 1 files changed, 5 insertions(+), 28 deletions(-) diff --git a/vue.config.js b/vue.config.js index acddc1b..670f28b 100644 --- a/vue.config.js +++ b/vue.config.js @@ -13,36 +13,13 @@ productionSourceMap: false, // 濡傛灉浣犱笉闇�瑕佺敓浜х幆澧冪殑source map, 鍙互灏嗗叾璁剧疆涓篺alse 浠ュ姞閫熺敓浜х幆澧冩瀯寤� devServer: { proxy: { - "/api/base": { - target: "http://192.168.20.119:8002", - ws: true, - changeOrigin: true - }, - "/api/salesLeads": { - target: "http://192.168.20.119:8002", - ws: true, - changeOrigin: true - }, - "/api/followRecord": { - target: "http://192.168.20.119:8002", - ws: true, - changeOrigin: true - }, - "/api-s": { - target: "http://192.168.20.119:9081", - ws: true, - changeOrigin: true - }, "/api": { - target: "http://192.168.20.119:8002", + target: "http://192.168.20.119:8002", // http://192.168.20.119:8002 http://fai365.com:30150/ + // 寤洪亾鏈湴鐜 + // target: "http://192.168.20.118:8002", ws: true, changeOrigin: true - } - // "/api-s": { - // target: "http://192.168.20.113:9081", - // ws: true, - // changeOrigin: true, - // }, + }, } }, transpileDependencies: [ @@ -56,7 +33,7 @@ configNew.externals = externals configNew.plugins = [] } else if (process.env.NODE_ENV === "development") { - console.log("development", config) + // console.log("development", config) } return configNew }, -- Gitblit v1.8.0