File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
frameworks/react-cra/add-ons/oRPC/assets/src/orpc Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ import { createRouterClient } from '@orpc/server'
22import { createORPCClient } from '@orpc/client'
33import { RPCLink } from '@orpc/client/fetch'
44import { createTanstackQueryUtils } from '@orpc/tanstack-query'
5- import { getHeaders } from '@tanstack/react-start/server'
5+ import { getRequestHeaders } from '@tanstack/react-start/server'
66import { createIsomorphicFn } from '@tanstack/react-start'
77
88import type { RouterClient } from '@orpc/server'
@@ -13,7 +13,7 @@ const getORPCClient = createIsomorphicFn()
1313 . server ( ( ) =>
1414 createRouterClient ( router , {
1515 context : ( ) => ( {
16- headers : getHeaders ( ) ,
16+ headers : getRequestHeaders ( ) ,
1717 } ) ,
1818 } ) ,
1919 )
You can’t perform that action at this time.
0 commit comments