override a worker route with a page/redirect rule

I have a worker at domain.com/route/* and need to create a redirect at domain.com/route/page/ Can this be done with a Rule that overrides that exact path? Or do I have no option but to match that in the worker code?
2 Replies
zegevlier
zegevlier2y ago
Rules run before workers, see the image below. Setting up a rule should work fine, are you running into any issues?
Want results from more Discord servers?
Add your server