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.

1 comment

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.

×
1 answer

Still looking for an answer here…

Submit an Answer