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.
mudu-vx/vue.config.js

36 lines
883 B

1 year ago
/*
* @Author: 付刚
* @Date: 2021-06-03 18:19:56
* @LastEditors: 许宏杰
* @LastEditTime: 2022-06-21 14:14:20
* @FilePath: \MuduAPP\vue.config.js
*/
module.exports = {
1 year ago
publicPath: '/demo/mudu-vx/', //APP打包
1 year ago
devServer: {
proxy: {
'/api': {
target: 'http://221.229.220.83:86', //代理接口
1 year ago
changeOrigin: true,
pathRewrite: {}
}
// '/mdzServer': {
// target: 'http://www.jichuanglanhai.com:89', //代理接口
// changeOrigin: true,
// pathRewrite: {},
// },
// '/api/staticfile/video/': {
// target: 'http://39.101.188.84:89', //代理接口
// changeOrigin: true,
// pathRewrite: {},
// },
// '/mudu/': {
// target: 'http://localhost:9028', //代理接口
// changeOrigin: true,
// pathRewrite: {},
// },
}
}
1 year ago
}