import { createTRPCProxyClient, httpBatchLink } from '@trpc/client'
import SuperJSON from 'superjson'
// .. other imports
export const trpcServer = createTRPCProxyClient<TRPCRootRouter>({
transformer: SuperJSON,
links: [httpBatchLink({ url: envs.API_URL_ABSOLUTE })],
})
import { createTRPCProxyClient, httpBatchLink } from '@trpc/client'
import SuperJSON from 'superjson'
// .. other imports
export const trpcServer = createTRPCProxyClient<TRPCRootRouter>({
transformer: SuperJSON,
links: [httpBatchLink({ url: envs.API_URL_ABSOLUTE })],
})