Skip to content

A desktop coding agent with free access to frontier models.

TypeScript
212 B
Raw Blame
import type { Context } from "hono"
import { routePath } from "hono/route"

export function normalizedHonoRoute(c: Context) {
  const route = routePath(c)
  return route && route !== "/*" ? route : "unmatched"
}