ForkMeDaddy
ForkMeDaddy10mo ago

TRPC, Cookies, fetch

I try to cakl my backend inside trpc procedures and I an using fetch for this. Is it possible so that trpc passes any headers to fetch?
1 Reply
Krishna
Krishna10mo ago
Yes you can add custome headers to tRPC… just search the docs for custom headers…