Unstable CORS policy issue on digital ocean space

May 10, 2019 347 views
DigitalOcean Ubuntu 16.04

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.

Be the first one to answer this question.