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

Did you find this page helpful?