You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

20 rivejä
381 B

  1. module.exports = {
  2. devServer: {
  3. proxy: {
  4. '/api': {
  5. target: 'http://localhost:8000/',
  6. changeOrigin: true,
  7. ws: true,
  8. },
  9. '/static/media': {
  10. target: 'http://localhost:8000/',
  11. changeOrigin: true,
  12. },
  13. '/static/js/': {
  14. target: 'http://localhost:8000/',
  15. changeOrigin: true,
  16. },
  17. },
  18. },
  19. };