mirror of
https://github.com/ArthurDanjou/trpc-nuxt.git
synced 2026-01-31 12:17:53 +01:00
update docs
This commit is contained in:
@@ -6,7 +6,7 @@ title: Authorization
|
|||||||
|
|
||||||
The `createContext` function is called for each incoming request so here you can add contextual information about the calling user from the request object.
|
The `createContext` function is called for each incoming request so here you can add contextual information about the calling user from the request object.
|
||||||
|
|
||||||
::alert{type="info"}
|
::alert{type="warning"}
|
||||||
Before you can access request headers in any context or middleware, you need to set the outgoing request headers. See [here](/get-started/tips/headers).
|
Before you can access request headers in any context or middleware, you need to set the outgoing request headers. See [here](/get-started/tips/headers).
|
||||||
::
|
::
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user