1
0

vue.config.js 402 B

123456789101112131415161718
  1. module.exports = {
  2. devServer: {
  3. port: 8082,
  4. proxy: {
  5. '/upload/imageUpload': {
  6. target: 'http://127.0.0.1:8888/',
  7. //打到后端
  8. changeOrigin: true
  9. },
  10. '/admin': {
  11. target: 'http://127.0.0.1:8888/',
  12. changeOrigin: true
  13. }
  14. }
  15. }
  16. }