Mikle
Explore posts from serversset response header from within `createServerData$()` callback
You can access the request headers and set cookies like this:
createServerData$(
async (_, { request }) => {
request.headers.set('cookie', request.headers.get('cookie') || '')
},
{ key: () => ['auth_user'] },
)
8 replies