Hi Team,
Can anyone suggest how to fetch the App URL from the Shopify Partner account in a Shopify Remix app? I need to use the App URL inside a Liquid file.
Currently, for development purposes, I’ve hardcoded the App URL from the shopify.app.toml file. However, since the App URL changes each time we run the deploy command, hardcoding it is not a sustainable solution.
Could anyone advise on how to programmatically fetch the App URL from the Shopify Partner account and use it within a Liquid file?