Hi all,
When setting the Access-Control-Allow-Origin header, I’m currently setting it to store-name.myshopify.com.
If that store has set another domain as its primary domain, something like store-domain-name.com, do I need to explicitly set the Access-Control-Allow-Origin header to that domain or will the Access-Control-Allow-Origin header for store-name.myshopify.com still work?
I can’t really test this because I only have a test store.
Any advice is appreciated. Thanks.