update docs

This commit is contained in:
wobsoriano
2022-11-24 12:53:17 -08:00
parent d4f3942fff
commit b569afde50
2 changed files with 2 additions and 6 deletions

View File

@@ -14,9 +14,7 @@ export default defineNuxtPlugin(() => {
links: [ links: [
httpBatchLink({ httpBatchLink({
headers() { headers() {
return { return headers
...unref(headers)
}
} }
}), }),
], ],

View File

@@ -16,9 +16,7 @@ export default defineNuxtPlugin(() => {
httpBatchLink({ httpBatchLink({
url: 'http://localhost:3000/api/trpc', url: 'http://localhost:3000/api/trpc',
headers () { headers () {
return { return headers
...unref(headers)
}
} }
}) })
] ]