tRPC 클라이언트에 최대 URL 길이 설정

This commit is contained in:
static
2025-12-26 23:54:49 +09:00
parent 3e98e3d591
commit a9da8435cb

View File

@@ -8,6 +8,7 @@ const createClient = (fetch: typeof globalThis.fetch) =>
links: [ links: [
httpBatchLink({ httpBatchLink({
url: "/api/trpc", url: "/api/trpc",
maxURLLength: 4096,
transformer: superjson, transformer: superjson,
fetch, fetch,
}), }),