import { oak } from "https://deno.land/x/create_react_app@v0.1.2/deps.ts";
const { Router } = oak;
Register a direction middleware, where when the source
path is matched
the router will redirect the request to the destination
path. A status
of 302 Found
will be set by default.
The source
and destination
can be named routes.