fix: add logs

This commit is contained in:
Christel Westerberg
2024-05-17 13:53:47 +02:00
parent e195f70d79
commit d5f2604ca0
3 changed files with 12 additions and 0 deletions

View File

@@ -38,6 +38,13 @@ export function createContext() {
const cookie = cookies()
const webviewTokenCookie = cookie.get("webviewToken")
console.log("IN CONTEXT", {
lang: h.get("x-lang") as Lang,
pathname: h.get("x-pathname")!,
url: h.get("x-url")!,
webviewToken: cookie.get("webviewToken"),
})
return createContextInner({
auth,
lang: h.get("x-lang") as Lang,