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.
36 lines
883 B
36 lines
883 B
/*
|
|
* @Author: 付刚
|
|
* @Date: 2021-06-03 18:19:56
|
|
* @LastEditors: 许宏杰
|
|
* @LastEditTime: 2022-06-21 14:14:20
|
|
* @FilePath: \MuduAPP\vue.config.js
|
|
*/
|
|
module.exports = {
|
|
publicPath: '/demo/mudu-vx/', //APP打包
|
|
|
|
devServer: {
|
|
proxy: {
|
|
'/api': {
|
|
target: 'http://221.229.220.83:86', //代理接口
|
|
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: {},
|
|
// },
|
|
}
|
|
}
|
|
}
|