Reactjs – React App with Vite fetch request to Express Backend is refused by CSP and CORS
My Front-End is set up with Vite-Express and React. When registering a User, react is sending a post request to "http://127.0.0.1/3001/auth/register". The Console spits out: POST http://127.0.0.1/3001/auth/register net::ERR_CONNECTION_REFUSED I have set my cors like this: /** CORS CONFIG VIA HELMET…