diff --git a/src/lib/rpc.ts b/src/lib/rpc.ts new file mode 100644 index 0000000..c77dc07 --- /dev/null +++ b/src/lib/rpc.ts @@ -0,0 +1,4 @@ +import { hc } from "hono/client"; +import { AppType } from "@/app/api/[[...route]]/route"; + +export const client = hc(process.env.NEXT_PUBLIC_APP_URL!);