Files
jobslink-user-clent/vue.config.js
dengxin 48ad3a2669 更新
2024-02-19 19:01:57 +08:00

25 lines
620 B
JavaScript

module.exports = {
devServer: {
port: 1887,
proxy: {
'/api': {
// target: 'http://192.168.0.102:8000', // 本地服务接口地址
target: "http://39.98.184.58:8000", // 阿里云后台地址
// target: "http://192.168.0.101:8000", // 本地网关
ws: true,
pathRewrite: {
'^/api': '/'
}
},
'/qq/map': {
//本地服务接口地址
target: 'https://apis.map.qq.com',
ws: true,
pathRewrite: {
'^/qq/map': '/'
}
}
}
}
};