mirror of
https://github.com/ershisan99/www.git
synced 2025-12-18 12:34:17 +00:00
i'm confused honestly, again and even more than before
This commit is contained in:
@@ -57,6 +57,12 @@ export function TRPCReactProvider(props: { children: React.ReactNode }) {
|
|||||||
headers.set('x-trpc-source', 'nextjs-react')
|
headers.set('x-trpc-source', 'nextjs-react')
|
||||||
return headers
|
return headers
|
||||||
},
|
},
|
||||||
|
fetch: (url, options) => {
|
||||||
|
return fetch(url, {
|
||||||
|
...options,
|
||||||
|
keepalive: true,
|
||||||
|
})
|
||||||
|
},
|
||||||
}),
|
}),
|
||||||
],
|
],
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user