feat: add composable for custom client headers

This commit is contained in:
Robert Soriano
2022-05-24 09:46:15 -07:00
parent 48152ead8d
commit 3b5e35ef68
7 changed files with 130 additions and 12 deletions

View File

@@ -42,8 +42,8 @@ export async function createContext(event: CompatibilityEvent) {
// Will be available as `ctx` in all your resolvers
// This is just an example of something you'd might want to do in your ctx fn
const x = useCookies(event)
console.log(x)
// const x = useCookies(event)
console.log(event.req.headers)
return {