import { hc } from "hono/client";

import { AppType } from "@/app/api/[[...route]]/route";

// Use consistent base URL to avoid hydration mismatch
// Always use relative URLs for internal API routing
export const client = hc<AppType>('');
