When deployed behind a reverse proxy (e.g. opinion.moreminimore.com), hardcoding http://localhost:5001 causes the browser to try connecting to the user's own machine. Empty baseURL + vite proxy fixes this.
When deployed behind a reverse proxy (e.g. opinion.moreminimore.com), hardcoding http://localhost:5001 causes the browser to try connecting to the user's own machine. Empty baseURL + vite proxy fixes this.