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

26 lines
711 B
JavaScript
Raw Normal View History

2024-04-12 17:57:52 +08:00
module.exports = {
2024-07-17 11:06:43 +08:00
chainWebpack: config => {
config.plugins.delete('case-sensitive-paths')
},
2024-04-12 17:57:52 +08:00
devServer: {
port: 1887,
proxy: {
'/api': {
2024-11-14 17:29:54 +08:00
// target: 'http://192.168.1.115:8000',
2025-01-16 09:42:42 +08:00
target: 'http://39.98.184.58:88',
2024-04-12 17:57:52 +08:00
ws: true,
2025-01-16 09:42:42 +08:00
// pathRewrite: {
// '^/api': '/'
// }
2024-04-12 17:57:52 +08:00
},
'/qq/map': {
//本地服务接口地址
target: 'https://apis.map.qq.com',
ws: true,
pathRewrite: {
'^/qq/map': '/'
}
}
}
}
};