Next.js-style
TheFileSystemRouter class resolves routes against a pages directory. (The Next.js 13 app directory is not supported.) Consider the following pages directory:
router.ts
query property.
params property:
.match() method also accepts Request and Response objects; their url property is used to resolve the route.
.reload() method.