We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
nuxt._cookies
1 parent 51f7a5e commit 96ffbadCopy full SHA for 96ffbad
src/runtime/composables/useStrapiToken.ts
@@ -11,7 +11,7 @@ export const useStrapiToken = (): Ref<string | null> => {
11
}
12
13
const cookie = useCookie<string | null>(config.strapi.cookieName, config.strapi.cookie)
14
- nuxt._cookies[config.strapi.cookieName] = cookie.value
+ nuxt._cookies[config.strapi.cookieName] = cookie
15
16
if (!cookie.value && config.strapi.token) {
17
return ref(config.strapi.token)
0 commit comments