Hi. I’m still new to Shopify app development, so I’m asking for a little help with this issue.
I am working on a Shopify remix app with a theme app extension. The application_url field used to be generated and auto-updated in the shopify.app.toml on each shopify app dev build. However, once i added the proxy url, that uses the same string it does not auto-update anymore and on each dev build i have to manually edit it. This is my shopify.app.toml structure now:
client_id = "randomstring"
name = "my-app"
application_url = "https://random-generated-url.trycloudflare.com"
embedded = true
handle = "my-app"
[build]
automatically_update_urls_on_dev = true
[webhooks]
api_version = "2025-07"
[[webhooks.subscriptions]]
topics = [ "app/uninstalled" ]
uri = "/webhooks/app/uninstalled"
[[webhooks.subscriptions]]
topics = [ "app/scopes_update" ]
uri = "/webhooks/app/scopes_update"
[access_scopes]
# Learn more at https://shopify.dev/docs/apps/tools/cli/configuration#access_scopes
scopes = "write_products, write_app_proxy, write_discounts"
[auth]
redirect_urls = [
"https://random-generated-url.trycloudflare.com/auth/callback",
"https://random-generated-url.trycloudflare.com/auth/shopify/callback",
"https://random-generated-url.trycloudflare.com/api/auth/callback"
]
[app_proxy]
url = "https://random-generated-url.trycloudflare.trycloudflare.com/proxy"
prefix = "apps"
subpath = "config"
[pos]
embedded = false
After setting up the proxy in the shopify.app.toml I also updated shopify cli to v3.84.2, so it might also be related to this…
Is this how it’s supposed to work now, or did I accidentally break something? It’s annyong to have to manually change the application_url to the one that Shopify is actually using after running shopify app dev
Thank you for the answers in advance!