From one day to another We’ve receiving this CORS policy error.
We’ve not made any recent changes to our store, but it appears the theme’s code is fetching urls with the “myshopify.com” domain instead of our default domain.
Is there any way we can achieve to use entirely our default domain?
Hi, I’m having the same issue with CORs errors, seemingly all of a sudden, across several pages. I found your post and the cause appears to be the same, as I can see the wrong URL being entered with a tag on my pages that point to the mydomain.myshopify.com instead of mydomain. The part I’m not understanding is the resolution, as I can’t find where this value is being set. Can you possibly share more details as to how you resolved the issue? Thanks a lot.
Found it, thanks. Not sure how it happened, but for others it appears that a page being updated inserted the base href tag (down at the bottom where the edits were made, only visible when viewing the source obviously). Not sure why that was added given similar/earlier edits didn’t add an href tag, but that was definitely the cause and removing it resolved the issue. Thanks again.
Hi Tim I saw you were able to help someone on this issue. I was hoping if you could help me aswell.
I think im having the exact same issue except the weird thing is i have a script that changes the site to /nl (Dutch language) and with the /nl the problem does not accur but with the original mydomain it does.
i already tried deleting the language script in hopes it would work but it did not.