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

27 lines
761 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-03-26 09:54:42 +08:00
// target: 'http://39.98.184.58:8000',
target: 'http://39.98.44.136:80',
2024-04-12 17:57:52 +08:00
ws: true,
pathRewrite: {
2025-05-06 16:13:25 +08:00
'^/api': '/api'
2024-04-12 17:57:52 +08:00
}
},
'/qq/map': {
//本地服务接口地址
target: 'https://apis.map.qq.com',
ws: true,
pathRewrite: {
'^/qq/map': '/'
}
}
}
}
};