This patch solves issues when running flamenco behind a reverse proxy.
- Avoids the need to set the backend port explicitly by proxying request to the backend trough vite's dev server.
- Uses the window.location.href protocol instead of setting it hardcoded as ws making the websocket work with https
- Make use of .env files to configure aspects of the dev server
