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

27 lines
825 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-24 19:16:42 +08:00
// target: 'http://192.168.3.112:8000', // 本地服务接口地址
target: 'http://10.165.0.173:8000', // 本地服务接口地址
// target: 'http://192.168.1.106:8000', // 本地服务接口地址
// target: 'http://192.168.3.120: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
}
}
};