ugh. everything worked on my machine. Deployed a React app on localhost:5173, and now calls to a payment providers API fail with a CORS error:
The preflight OPTIONS request seems to fail before the real request is even sent. Im sending an Authorization haeder and JSON content type, if that matters. Id love to understand what changed bteween local and production. Any explanation of what the browesr is doing here would be really helpful. any ideas??
