vue.config.js 581 B

1234567891011121314151617181920212223242526272829303132
  1. module.exports = {
  2. devServer: {
  3. port:8082,
  4. proxy:{
  5. '/api/unified':{
  6. target:'http://localhost:8090',
  7. ws:true,
  8. changeOrigin:true,
  9. pathRewrite:{
  10. '^/api/unified':''
  11. }
  12. },
  13. '/api/pay':{
  14. target:'http://localhost:8280',
  15. ws:true,
  16. changeOrigin:true,
  17. pathRewrite:{
  18. '^/api/pay':''
  19. }
  20. },
  21. '/api':{
  22. target:'http://localhost:8080',
  23. ws:true,
  24. changeOrigin:true,
  25. pathRewrite:{
  26. '^/api':''
  27. }
  28. }
  29. },
  30. }
  31. };