import { appendTrailingSlash } from "https://dotland.deno.dev/x/hono@v4.2.6/middleware/trailing-slash/index.ts";
Append a trailing slash to the URL if it doesn't have one. For example, /path/to/page
will be redirected to /path/to/page/
.
x/hono/middleware/trailing-slash/index.ts>appendTrailingSlash
import { appendTrailingSlash } from "https://dotland.deno.dev/x/hono@v4.2.6/middleware/trailing-slash/index.ts";
Append a trailing slash to the URL if it doesn't have one. For example, /path/to/page
will be redirected to /path/to/page/
.