vue.config.js 227 B

123456789101112131415
  1. module.exports = {
  2. devServer:{
  3. port: '8090',
  4. disableHostCheck:true,
  5. proxy:{
  6. '/api':{
  7. target: 'https://wx.hw.hongweisoft.com/parking/',
  8. changeOrigin: true,
  9. pathRewrite:{
  10. '^/api': ''
  11. }
  12. }
  13. }
  14. }
  15. }