Shopify / shopify-app-template-remix

371 stars 149 forks source link

application_url and automatically_update_urls_on_dev not working as expected. #885

Closed muke5hy closed 1 week ago

muke5hy commented 2 weeks ago

I want to make the app accessible through my existing Cloudflare tunnel. Currently, even though the Cloudflare tunnel is active, the URL generated for the Remix Shopify app does not function properly with it. Is there a way to add my custom tunnel url?

I tried changing in file shopify.app.app.toml and replace value in application_url = and redirect_urls but this dint work.

lizkenyon commented 2 weeks ago

Hi @muke5hy

Are you using the --tunnel-url flag when running shopify app dev ? Docs

muke5hy commented 1 week ago

Hey thanks, It started working, I was using --tunnel-url but the problem was I had to do npm run deploy to update the app on my dev store.

Question: If I have changed in TOML file I need to deploy everytime?

lizkenyon commented 1 week ago

Yes, if you update the toml file you will need to deploy to push those updates to Shopify.