import type { Blog, User } from '@/lib/types'; import { Hono } from 'hono'; type Variables = { user: User; blog: Blog; host: string; } export default class cHono extends Hono<{ Variables: Variables }> { constructor() { super({ strict: false }) // treat "/hello" and "/hello/" as one } }