Files
jobslink-user-clent/vue.config.js

26 lines
704 B
JavaScript
Raw Normal View History

2024-04-12 17:57:52 +08:00
module.exports = {
2024-07-17 11:06:43 +08:00
chainWebpack: config => {
config.plugins.delete('case-sensitive-paths')
},
2024-04-12 17:57:52 +08:00
devServer: {
port: 1887,
proxy: {
'/api': {
2024-05-15 16:16:35 +08:00
target: 'http://10.165.0.173:8000',
2024-10-09 10:14:51 +08:00
// target: 'http://192.168.1.115:8000',
2024-04-12 17:57:52 +08:00
ws: true,
pathRewrite: {
2024-04-23 21:08:23 +08:00
'^/api': '/'
2024-04-12 17:57:52 +08:00
}
},
'/qq/map': {
//本地服务接口地址
target: 'https://apis.map.qq.com',
ws: true,
pathRewrite: {
'^/qq/map': '/'
}
}
}
}
};