Routing HTTP requests is now fairly straightforward in JavaScript thanks to the URL Pattern API. That’s useful both in a browser context (e.g. for service workers) and on the server side with WinterCG-compatible runtimes.| prepitaph.org