更新
This commit is contained in:
@@ -8,8 +8,6 @@ function resolve(dir) {
|
||||
|
||||
const name = defaultSettings.title || "vue Admin Template";
|
||||
|
||||
const port = process.env.port || process.env.npm_config_port || 9530;
|
||||
|
||||
module.exports = {
|
||||
publicPath: "/refinery",
|
||||
outputDir: "dist",
|
||||
@@ -17,7 +15,7 @@ module.exports = {
|
||||
productionSourceMap: false,
|
||||
devServer: {
|
||||
inline: true,
|
||||
port: port,
|
||||
port: 9530,
|
||||
open: false,
|
||||
overlay: {
|
||||
warnings: false,
|
||||
@@ -29,7 +27,7 @@ module.exports = {
|
||||
[process.env.VUE_APP_BASE_API]: {
|
||||
// target: `https://3816t6291y.oicp.vip`,
|
||||
// target: 'https://6l438d1757.zicp.fun',
|
||||
target: "http://192.168.0.23:38080",
|
||||
target: "http://192.168.1.85:38080",
|
||||
// target: "http://uat.xingoil.com/adminapi",
|
||||
changeOrigin: true,
|
||||
pathRewrite: {
|
||||
|
||||
Reference in New Issue
Block a user