Browsers block a website from using files on another address unless that address allows it. That permission is called CORS. You need it for fonts, media players, and uploads straight from the browser.
Set it up
- Open the bucket's Settings tab and find CORS.
- Under Allowed websites, enter one address per line, like
https://example.comandhttps://www.example.com. Use*to allow any website. - Tick the methods: GET to read files, PUT and POST to upload, DELETE to delete, HEAD for file details.
- Click Save CORS.
To remove CORS, empty the list and save.
Was this article helpful? Thanks for your feedback!
