import { trimTrailingSlash } from "https://deno.land/x/hono@v4.3.10/middleware.ts";
Trim the trailing slash from the URL if it does have one. For example, /path/to/page/
will be redirected to /path/to/page
.
import { trimTrailingSlash } from "https://deno.land/x/hono@v4.3.10/middleware.ts";
Trim the trailing slash from the URL if it does have one. For example, /path/to/page/
will be redirected to /path/to/page
.