Merge pull request 'lixuan' (#2) from lixuan into master

Reviewed-on: #2
pull/3/head
李轩 2 years ago
commit 107e67758c
  1. 5
      vue.config.js

@ -11,11 +11,12 @@ const name = defaultSettings.title || "vue Admin Template";
const port = process.env.port || process.env.npm_config_port || 9530;
module.exports = {
publicPath: "/",
publicPath: "/refineryCus",
outputDir: "dist",
assetsDir: "static",
productionSourceMap: false,
devServer: {
disableHostCheck: true,
inline: true,
port: port,
open: false,
@ -29,7 +30,7 @@ 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",
changeOrigin: true,
pathRewrite: {
["^" + process.env.VUE_APP_BASE_API]: "",

Loading…
Cancel
Save