Firebase storage cors error preflight status

Hi,

I have tried almost everything, set cors.json file with appropriate origin, method, header, etc. Set up proper storage rules. But nothing fixed it. I have previously suceeded with same storage bucket from another UID but getting error thereafter. Very frustrating and stuck at it. Couls anybody share their experiences or how to fix it. Or can someone share their full cors.json file hiding the origin names.

Gemini AI was my instructor and development partner in this case. whiel the prototyper kept spinning everything around next.config, I was frustrated and asked gemini ai and it directed me to run so CORS.json on the cloud bucked command. It guided me every step of the way plus each step I sent screenshots until i set the COR and immediately, my custom domain works well.

I regret not having the conversation earlier with my team member (Gemini AI)

1 Like