Assume I have an image uploaded to a store on Shopify called 'logo.png'.
In a liquid template I can generate a URL for it like this:
{{ 'logo.png' | asset_url }}
This generates a URL such as:
http://static.shopify.com/s/files/1/0072/7952/t/2/assets/logo.png?100239
I want to generate this URL outside of Shopify for use in a third party app.
From the Shopify code at https://github.com/Shopify/pixelprinter/blob/master/app/liquid/filters/shop_filter.rb#L84
I can see how to use the shop id to generate everything except the '/t/2'
segment.
What determines this final segment?