How Do I Properly Configure Types Proxy for Optimal Performance? or What Are the Best Practices to Co

16 Replies, 802 Views

Wow, thanks for all the tips, everyone! I didn’t even think about the CORS or header issues—that explains some of the weird errors I was getting.

I tried simplifying my config like some of you suggested, and it’s way clearer now. Also, `http-proxy-middleware` was a game-changer.

One follow-up: anyone know how to handle websockets with a proxy? Mine keeps disconnecting, and I’m not sure if it’s a config thing or something else.

Thanks again! Y’all saved me hours.

Messages In This Thread



Users browsing this thread: 1 Guest(s)