import { HonoBase } from "https://deno.land/x/hono@v4.1.3/hono-base.ts";
.basePath()
allows base paths to be specified.
Examples
Example 1
Example 1
const api = new Hono().basePath('/api')
Parameters
path: SubPath
import { HonoBase } from "https://deno.land/x/hono@v4.1.3/hono-base.ts";
.basePath()
allows base paths to be specified.
Example 1
const api = new Hono().basePath('/api')