mirror of
https://github.com/ArthurDanjou/trpc-nuxt.git
synced 2026-02-01 04:37:55 +01:00
update docs
This commit is contained in:
@@ -16,9 +16,8 @@ export default defineNuxtPlugin(() => {
|
|||||||
// headers need to be a function so it gets called dynamically
|
// headers need to be a function so it gets called dynamically
|
||||||
// every HTTP request
|
// every HTTP request
|
||||||
headers() {
|
headers() {
|
||||||
return {
|
// You can add more custom headers here
|
||||||
...headers
|
return headers
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}),
|
}),
|
||||||
],
|
],
|
||||||
|
|||||||
Reference in New Issue
Block a user