I’m in the process of refactoring an Express.js API and its REST endpoints.
We are switching from
app.get('/billing/cards',...). To make the transition easier, I want to simply add a
res.redirect('/billing/cards') inside the
On the client though, I get this error:
How do I configure my CORS settings either on the API or on the client to allow this?