it
February 6, 2020, 10:02am
1
Hello,
When requesting images from imgix (through https://www.datocms-assets.com ) the âAccess-Control-Allow-Originâ header is bound to a specific domain, instead of â*â. This causes issues when deploying our site on multiple domains (for staging, production, etc).
The imgix documentation states that it is possible to change the CORS settings for such use cases in the imgix dashboard (https://support.imgix.com/hc/en-us/articles/360000537526-Cross-Domain-policy ). How can we update these settings for our website ?
Thanks in advance for any support,
Alexandre
Hello @it and welcome to Community!
Thank you for the suggestion, Iâve changed that setting in our Imgix account. Please let me know if you still have any issue with that.
yuri
November 3, 2020, 2:54pm
3
Hi @mat_jack1 ,
seems I have similar issue. Could you please change âAccess-Control-Allow-Originâ header for me too?
Thanks
hello @yuri welcome!
we didnât change anything in the end, it was working. Can you please share a broken example? So that we can have a look?
Thanks
hi @it and @yuri , please try again now but clear your browser cache first! Let us known
yuri
November 5, 2020, 5:15pm
7
Now it works like a charm. Thanks!
2 Likes