Vite cannot connect to the development server backend because discord’s CSP says everything other than the page has to use .proxy/
.
here are the 2 rules in there:
https://<id>.discordsays.com/.proxy/
wss://<id>.discordsays.com/.proxy/
I searched for how to configure Vite to do this, but i have found nothing.
New contributor
wawa wawa wawa is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.