> Route pattern matching considers the entire request URL, including the query parameter string. Sin

Route pattern matching considers the entire request URL, including the query parameter string. Since route patterns may not contain query parameters, the only way to have a route pattern match URLs with query parameters is to terminate it with a wildcard, *.
https://developers.cloudflare.com/workers/configuration/routing/routes/#route-patterns-may-not-contain-any-query-parameters
Was this page helpful?