How to set routes for specific workers?

I have setup my custom domain example.com and now I want to link the route "example.com/worker" to one of my workers and the route "example.com/worker-b" to another worker. The worker was running on "example.com/*" before. I changed the route to "example.com/worker/*" but I always get 404 errors when I try to access it by the new url (/worker/test). The urls from before are still working (e.g. example.com/test). I also set the route = "example.com/worker/*" in wrangler.toml . How can I set up such a route correctly?
0 Replies
No replies yetBe the first to reply to this messageJoin