Move route from 1 worker to another without downtime?

I have a running Worker with a route which proxies basically the whole domain, now I'm starting to use Environments and want to leave the naming to wrangler etc so it's creating a new Worker with -production appended, also want this to have deploys be more explicit -e production so wouldn't want the top-level to be production config. Though when trying to deploy it's complaining about another Worker already using that route. One alternative that just came to mind is renaming the existing worker instead 🤔
1 Reply
CanRau2mo ago
kay just renamed the old Worker to match the new naming, worked great 👌