I'm looking at the docs on workers rules, but it's not quite clear to me how it's supposed to work -

I'm looking at the docs on workers rules, but it's not quite clear to me how it's supposed to work - I'm trying to make it so that hitting /foo will use a handler defined in /routes/foo.ts - but have also tried having /foo.ts -is there an example around of how this might work?
Was this page helpful?