Help with getting CORs policy to work with r2 and pages

I have a project deployed from GitHub onto cloudflare pages that has a button, takes the users microphone input, transcribes it, sends it to open ai , then OpenAI sends back an mp3 file that should be stored in r2 (if the file doesn’t already exist) , and is played back for the user. I have been ripping my hair out for ages with this, as it worked when the project was deployed to Vercel but now I’m getting a CORs error. I have no idea what else to try with the settings. Feels like I’ve tried everything. Can anyone help ? DM or comment below and I can send the info.
0 Replies
No replies yetBe the first to reply to this messageJoin

Did you find this page helpful?