Worker routes for pages

Is anyone aware of a way to setup worker routes for pages? Id like to have a single domain pointing to multiple pages applications based on path. I see worker routes allow you to set the kind of thing id need, like go to X-application based on route being /Y/*... but only traditional workers display in the dropdown, and not my pages applications. as pages are workers under the hood, is there a way to do this?
3 Replies
Cyb3r-Jak3
Cyb3r-Jak39mo ago
Functions will trigger on the path they are assigned if that is what you are looking for.
GATES
GATESOP9mo ago
Apologies if i wasnt clear. So I have multiple sites hosted as individual "pages". if i go to one of my domains in cloudflare, and go to "workers routes" i can add a pattern like the screenshot and select a worker from the list. I have the "test" worker, which is a standard worker. However i cannot see my "pages" here. Is there a way to do this same thing but for my page services instead? i might be misunderstanding the differences but pages are built on top of workers so wasnt sure if this was a limitation of the UI or just couldnt be done
GATES
GATESOP9mo ago
No description
Want results from more Discord servers?
Add your server