update docs

This commit is contained in:
wobsoriano
2022-11-24 12:51:28 -08:00
parent b27938f108
commit 68003e9c3e
4 changed files with 52 additions and 9 deletions

View File

@@ -9,9 +9,10 @@ export type Context = inferAsyncReturnType<typeof createContext>
* @link https://trpc.io/docs/context
*/
export function createContext (
opts: H3Event
event: H3Event
) {
// for API-response caching see https://trpc.io/docs/caching
console.log('cookies', parseCookies(event))
return {}
}