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.

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!