mirror of
https://github.com/dsprenkels/backpack.git
synced 2026-01-12 05:17:57 -05:00
11 lines
267 B
TypeScript
11 lines
267 B
TypeScript
import { createTRPCProxyClient, httpBatchLink } from "@trpc/client";
|
|
import type { AppRouter } from "@/server";
|
|
|
|
export const trpc = createTRPCProxyClient<AppRouter>({
|
|
links: [
|
|
httpBatchLink({
|
|
url: '/backpack/api/hello',
|
|
}),
|
|
],
|
|
})
|