Hey everyone :)
I’m still playing around using spaces for my web development and so far I really dig it.
However I’m facing an issue about using the right CORS setting, I’m not sure if it on DO space I need to set this or on my own server.
I’ve added 2 images, one with the CORS settng on DO and the next is the error.
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Issue is that cross site access not allowed source cdn.rgb-profiles.xyz/font-awesome/fonts... We had a similar issue. Despite the fact that we loaded font awesome fonts from Droplet and not Spaces we got this error. That was due to relative link trying to load font from Spaces CDN. When we did set CORS at Spaces to allow access origin * we got a 404. We did however not want to use allow access origin all so we fixed the url and loaded from Droplet.
If you can set origin to specific location at Spaces CORS settings and do this for at least GET (PUT and POST probably not needed) that should get things working again. At least when fonts are on Spaces. And setting specific source (your website) will make it specific enough and thereby not inherently insecure.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.