25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

vue.config.js 279 B

123456789101112131415
  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. },
  14. },
  15. };