proxy.config.json 927 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. {
  2. "/api": {
  3. "target": "http://127.0.0.1:9000",
  4. "secure": false
  5. },
  6. "/plugins": {
  7. "target": "http://127.0.0.1:9000",
  8. "secure": false
  9. },
  10. "/themes": {
  11. "target": "http://127.0.0.1:9000",
  12. "secure": false
  13. },
  14. "/static": {
  15. "target": "http://127.0.0.1:9000",
  16. "secure": false
  17. },
  18. "/lazy-static": {
  19. "target": "http://127.0.0.1:9000",
  20. "secure": false
  21. },
  22. "/socket.io": {
  23. "target": "ws://127.0.0.1:9000",
  24. "secure": false,
  25. "ws": true
  26. },
  27. "/client/assets": {
  28. "target": "http://127.0.0.1:9000",
  29. "secure": false
  30. },
  31. "/client/locales": {
  32. "target": "http://127.0.0.1:9000",
  33. "secure": false
  34. },
  35. "/!(client)**": {
  36. "target": "http://127.0.0.1:3000/client/index.html",
  37. "secure": false,
  38. "logLevel": "debug"
  39. },
  40. "/!(client)**/**": {
  41. "target": "http://127.0.0.1:3000/client/index.html",
  42. "secure": false,
  43. "logLevel": "debug"
  44. }
  45. }