Closed oleghalin closed 2 years ago
Hi! You should be able to get the request
object in the main hook: export default vitedge(App, {...}, (context) => { context.request; ... });
And console displays undefined
And looks like types doesn't have it too.
Hello. I'm trying to set i18n locale on the server-side, to do so I need to get the locale cookie from Request Headers. How can i access it in
vitedge
callback?