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

24 lines
540 B
JavaScript
Raw Normal View History

2024-02-02 14:44:30 +08:00
module.exports = {
devServer: {
port: 1887,
proxy: {
'/api': {
2024-03-31 02:44:00 +08:00
target: 'http://localhost:8000', // 内网
2024-03-29 16:51:49 +08:00
// target: 'http://192.168.1.109: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
}
}
};