ForkMeDaddy
ForkMeDaddy12mo 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
Krishna12mo ago
Yes you can add custome headers to tRPC… just search the docs for custom headers…