pull/2/head
lixuan 2 years ago
parent d55d7562b6
commit 2c8f92cca2
  1. 5
      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; const port = process.env.port || process.env.npm_config_port || 9530;
module.exports = { module.exports = {
publicPath: "/", publicPath: "/refinery",
outputDir: "dist", outputDir: "dist",
assetsDir: "static", assetsDir: "static",
productionSourceMap: false, productionSourceMap: false,
@ -29,7 +29,8 @@ module.exports = {
[process.env.VUE_APP_BASE_API]: { [process.env.VUE_APP_BASE_API]: {
// target: `https://3816t6291y.oicp.vip`, // target: `https://3816t6291y.oicp.vip`,
// target: 'https://6l438d1757.zicp.fun', // 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, changeOrigin: true,
pathRewrite: { pathRewrite: {
["^" + process.env.VUE_APP_BASE_API]: "", ["^" + process.env.VUE_APP_BASE_API]: "",

Loading…
Cancel
Save