CORS Error when Sending POST requests to Express Backend

Hello everybody,
I am trying to create a quiz app using Gemini API, and am using an express backend for this project. When trying to send a POST request from my frontend javascript to the express server, I constantly get the error:

Blockquote
Access to fetch at ‘https://3000-idx-aa-1727415100211.cluster-fu5knmr55rd44vy7k7pxk74ams.cloudworkstations.dev/’ from origin ‘https://9000-idx-aa-1727415100211.cluster-fu5knmr55rd44vy7k7pxk74ams.cloudworkstations.dev’ has been blocked by CORS policy: Response to preflight request doesn’t pass access control check: The value of the ‘Access-Control-Allow-Credentials’ header in the response is ‘’ which must be ‘true’ when the request’s credentials mode is ‘include’.

Blockquote

I have tried many methods and have also explicitly set options for the preflight request using cors. I am wondering if it is an issue with referring to the frontend URL? I have also heard this is an ongoing issue so any help would be appreciated.

Are you running into this issue by any chance?