Replies: 1 comment
-
Doesn't @timcole answer this here? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Doesn't @timcole answer this here? |
Beta Was this translation helpful? Give feedback.
-
I've been looking into this for over 2 hrs now. Is it possible to set custom headers after a query is successfull ?
as you can see I'm setting the refresh-token cookie and sending the accessToken. I want to set the accessToken header on the client after the login mutation is successful. I've looked into the docs of trpc and react-query but failed to find the solution. I'm new to trpc but love the concept and DX. Can anybody help ?
Originally posted by @soulsam480 in #1408
So same/similar question but want to enable headers because I keep getting Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource. I know the reasons not to do this but I am querying assets from the blockchain so unless I add them to my own managed S3 bucket I can't get them all under the same domain.
Beta Was this translation helpful? Give feedback.
All reactions