I had used digital ocean space quite sometime. I add cors policy advanced option with my domain name with https. However, most of the time, the images or documents show. But sometimes, it doesn’t show and error occurred, need to refresh the page in order to work.
My Cors Options
Origin: https://*.website.com
Allowed Methods:
GET, PUT, DELETE, POST
Allowed Headers:
*
Access Control Max Age:
10000000
Error:Access to image at CDN SGP1 URL from origin https://panel.website.com has been blocked by CORS policy: No ‘Access-Control-Allow-Origin’ header is present on the requested resource.
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!
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.
From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.