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-11-14 17:29:54 +08:00
// target: 'http://192.168.1.115:8000',
2024-10-24 14:42:47 +08:00
target: 'http://39.98.184.58: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': '/'
}
}
}
}
};