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

25 lines
620 B
JavaScript
Raw Normal View History

2024-02-02 14:44:30 +08:00
module.exports = {
devServer: {
port: 1887,
proxy: {
'/api': {
2024-02-19 09:08:07 +08:00
// target: 'http://192.168.0.102:8000', // 本地服务接口地址
2024-02-07 22:40:40 +08:00
target: "http://39.98.184.58:8000", // 阿里云后台地址
2024-02-17 09:42:41 +08:00
// target: "http://192.168.0.100: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
}
}
};