2024-02-02 14:44:30 +08:00
|
|
|
module.exports = {
|
|
|
|
|
devServer: {
|
|
|
|
|
port: 1887,
|
|
|
|
|
proxy: {
|
|
|
|
|
'/api': {
|
2024-03-12 23:03:27 +08:00
|
|
|
// target: 'http://192.168.3.104:8000', // 本地服务接口地址
|
2024-03-17 20:23:02 +08:00
|
|
|
// target: "http://39.98.184.58:8000", // 阿里云后台地址
|
2024-03-15 16:59:29 +08:00
|
|
|
// target: 'http://192.168.3.108:8000', // 本地服务接口地址
|
2024-03-17 20:23:02 +08:00
|
|
|
target: 'http://192.168.3.111: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
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
};
|