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

22 lines
554 B
JavaScript
Raw Normal View History

2024-04-12 17:57:52 +08:00
module.exports = {
devServer: {
port: 1887,
proxy: {
'/api': {
2024-04-19 15:55:13 +08:00
target: 'http://192.168.1.106:8000',
2024-04-12 17:57:52 +08:00
ws: true,
pathRewrite: {
'^/api': '/'
}
},
'/qq/map': {
//本地服务接口地址
target: 'https://apis.map.qq.com',
ws: true,
pathRewrite: {
'^/qq/map': '/'
}
}
}
}
};