Dude, I feel you. Proxy javascript code can be a pain when it starts breaking stuff.
One thing that helped me was using a library like `axios-interceptors` instead of rolling my own proxy. Less code, fewer bugs.
Also, if speed’s an issue, maybe avoid proxying every single request? Just target the ones you need.
One thing that helped me was using a library like `axios-interceptors` instead of rolling my own proxy. Less code, fewer bugs.
Also, if speed’s an issue, maybe avoid proxying every single request? Just target the ones you need.
