Is there a work around for Worker Routes to run on home page requests *with query params* but not ru

Is there a work around for Worker Routes to run on home page requests with query params but not run on everything else?
Example: If I add a route for
*/*
it will run for all traffic (this is too broad), if I add one for
*/
it will only run for the home page if there aren't any query params.
Was this page helpful?