Shopify remix app development issue

Topic summary

A developer is experiencing a configuration conflict in their Shopify Remix app’s shopify.app.toml file.

The Problem:

  • When automatically_update_urls_on_dev = true is enabled, the app URLs automatically switch to a .trycloudflare.com domain across all environments
  • This causes the production app to break since it uses the development domain
  • When disabled, the development store doesn’t pick up updated URLs, preventing local development

Seeking Solution:
The developer needs a way to automatically update URLs during local development without affecting the production environment. The issue remains unresolved with no responses yet.

Summarized with AI on October 29. AI used: claude-sonnet-4-5-20250929.

Hi team,

I’m running into a configuration issue with my Shopify app’s shopify.app.toml. When I enable:

automatically_update_urls_on_dev = true
the app’s URLs automatically switch to the .trycloudflare.com domain in all environments—including production—causing our live app to break. If I disable that setting, my development store never picks up the updated URLs, so I can’t serve the app locally.

What’s the best way to automatically update URLs for development without impacting our production app?