How make CORS works?

Posted April 12, 2020 676 views
DigitalOcean Spaces

I tried to enable CORS to my space for a specific domain. I want to restrict access to images and files to my domain. I setup CORS, my files are setup as public.

But I can access the site from my local computer and other domains. Looks like CORS validation is not working. Any idea?

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.

Submit an Answer
1 answer
Show answer This answer has been marked as resolved by Shiroka.