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

24 lines
574 B
JavaScript
Raw Normal View History

2024-02-02 14:44:30 +08:00
module.exports = {
devServer: {
port: 1887,
proxy: {
'/api': {
2024-03-15 16:59:29 +08:00
// target: 'http://192.168.3.108:8000', // 本地服务接口地址
2024-03-19 17:19:44 +08:00
target: 'http://192.168.3.173:8000', // 本地服务接口地址
2024-02-02 14:44:30 +08:00
ws: true,
pathRewrite: {
'^/api': '/'
}
2024-02-05 10:16:08 +08:00
},
'/qq/map': {
//本地服务接口地址
target: 'https://apis.map.qq.com',
ws: true,
pathRewrite: {
'^/qq/map': '/'
}
}
2024-02-02 14:44:30 +08:00
}
}
};