If a domain is apointed to a market, the shop.url still gives the url of the original store.
This will produce CORS error if this url is used in ajax calls.
Can this be change or add the market domain to Access-Control-Allow-Origin header.
or is their an easy work around. I know i can replace the url with js. But i don’t think this is the right sollution.
Kind regard
Erwin