From 2c8f92cca26dc5a1ba05e2ff52dc67d41fb57fe6 Mon Sep 17 00:00:00 2001 From: lixuan Date: Tue, 28 Feb 2023 09:40:07 +0800 Subject: [PATCH] xiugai --- vue.config.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/vue.config.js b/vue.config.js index 15c7aa3..042482e 100644 --- a/vue.config.js +++ b/vue.config.js @@ -11,7 +11,7 @@ const name = defaultSettings.title || "vue Admin Template"; const port = process.env.port || process.env.npm_config_port || 9530; module.exports = { - publicPath: "/", + publicPath: "/refinery", outputDir: "dist", assetsDir: "static", productionSourceMap: false, @@ -29,7 +29,8 @@ module.exports = { [process.env.VUE_APP_BASE_API]: { // target: `https://3816t6291y.oicp.vip`, // target: 'https://6l438d1757.zicp.fun', - target: "http://192.168.110.230:38080", + target: "http://192.168.0.23:38080", + // target: "http://uat.xingoil.com/adminapi", changeOrigin: true, pathRewrite: { ["^" + process.env.VUE_APP_BASE_API]: "", -- 2.36.2