星油H5
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

38 lines
1.0 KiB

const { defineConfig } = require('@vue/cli-service');
const name = '星油能源运营管理平台'
const port = 9528
module.exports = defineConfig({
transpileDependencies: true,
lintOnSave:false,
devServer: {
port: port,
https: true,
proxy: {
[process.env.VUE_APP_BASE_API]: {
// target: `cls`,
target: `http://192.168.0.54:38080`,
// target: `https://www.xingoil.com/adminapi`,
// target: 'http://192.168.0.191:38080',
changeOrigin: true,
pathRewrite: {
['^' + process.env.VUE_APP_BASE_API]: ''
}
},
[process.env.VUE_APP_UPLOAD_URL]: {
target: `http://127.0.0.1:38080`,
changeOrigin: true,
pathRewrite: {
['^' + process.env.VUE_APP_BASE_API]: ''
}
},
[process.env.VUE_APP_BASE_LSM_API]: {
target: `http://121.41.3.91:8085`,
changeOrigin: true,
pathRewrite: {
['^' + process.env.VUE_APP_BASE_LSM_API]: ''
}
}
}
},
});