Repository navigation
cf migrate / cf deploy: keep workers.dev enabled when workers_dev was implicit in the Wrangler config
#16890
workers-devprod
started this conversation in
Feature Requests
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
From
https://github.com/cloudflare/workers-sdk/issues/16125, by@alfredwesterveld.For context: when
workers_dev/workersDevis not set, bothwrangler deployandcf deployenable workers.dev only if the Worker has no routes or custom domains, and turn it off otherwise.cf migratecopiesworkers_devacross when it is set, and leaves it unset when it is not. So a Worker whose workers.dev URL was turned on outside the config, while it also had a custom domain, has that URL turned off on the next deploy. This request asks for that state to be kept instead.All reactions