From ddb4dda6ed6069253afb8b1e05fe52b56c681f35 Mon Sep 17 00:00:00 2001 From: ZZJ <zzjdsg2300@163.com> Date: 星期五, 19 十一月 2021 18:58:38 +0800 Subject: [PATCH] 暂存 --- vue.config.js | 30 +++++++++++++++--------------- 1 files changed, 15 insertions(+), 15 deletions(-) diff --git a/vue.config.js b/vue.config.js index 5547a60..3faacbf 100644 --- a/vue.config.js +++ b/vue.config.js @@ -41,10 +41,10 @@ }); // const serverUrl = "http://58.118.225.79:41243" // 缇婁簲 -const serverUrl = "http://192.168.20.189:7009"; +const serverUrl = "http://192.168.8.10:7009"; //const serverUrl = "http://192.168.20.10:9000"; -const cir = require("circular-dependency-plugin"); +// const cir = require("circular-dependency-plugin"); module.exports = { pages, @@ -91,7 +91,7 @@ }, "/data/api-v/app/findAllApp": { // target: '/', - target: "http://localhost:8080/", + target: "http://localhost:8081/", changeOrigin: true, pathRewrite: { "^/data/api-v/app/findAllApp": "apps.json", @@ -128,7 +128,7 @@ changeOrigin: true, //寮�鍚唬鐞� }, "/temp": { - target: "http://192.168.20.10:9000", + target: serverUrl, changeOrigin: true, //寮�鍚唬鐞�, pathRewrite: { "/temp": "", @@ -136,17 +136,17 @@ }, }, }, - configureWebpack: { - plugins: [ - new cir({ - exclude: /a\.js|node_modules/, - include: /dir/, - failOnError: true, - allowAsyncCycles: false, - cwd: process.cwd(), - }), - ], - }, + // configureWebpack: { + // plugins: [ + // new cir({ + // exclude: /a\.js|node_modules/, + // include: /dir/, + // failOnError: true, + // allowAsyncCycles: false, + // cwd: process.cwd(), + // }), + // ], + // }, /* css:{ loaderOptions:{ scss:{ -- Gitblit v1.8.0