react not fetching pdf document from spaces. cors error

React cors error when I try to fetch from spaces with a public URL. I’ve set cors permissions on the space but it doesn’t work.


Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Hey, @ayodejiod

I hope this is already sorted, but can you please paste the exact error message here as well? In this way it will be easier for everyone to come up with a solution or point you in the right direction.