Request for ScriptTag from custom domains

Highlighted
Tourist
5 0 0
Hello,

I want to restrict access to my ScriptTag files on my server to the domains of shops which have installed my app. How can I get a custom domain name of such a shop during installation because request for ScriptTag will come from custom domain? Or I'm wrong and those requests for ScriptTag will come always from .myshopify.com domains? 
 
Thank you in advance
 
 
 
 
OdpowiedzPrzekaż dalej
0 Likes
Highlighted
Tourist
5 0 0

I just need to know what is the origin of request for ScriptTag. Is it URL of custom domain or always URL with suffix .myshopify.com? I don't have a shop with custom domain so I can't check this.

0 Likes