-
Notifications
You must be signed in to change notification settings - Fork 107
Closed
Labels
questionFurther information is requestedFurther information is requested
Description
Describe the bug
When following the example given in the nuxt og image docs (https://nuxtseo.com/docs/og-image/guides/cache#cache-storage) for setting a cache storage, I'm getting an error 👇
// nuxt.config.ts
ogImage: {
runtimeCacheStorage: {
driver: 'cloudflare-kv-binding',
binding: 'OG_IMAGE_CACHE'
}
}
{
"error": "true",
"url": "/__og-image__/image/dev/og.png",
"statusCode": 500,
"statusMessage": "[Nuxt OG Image] Failed to connect to cache /nuxt-og-image/5.0.2. Response from cache: [unstorage] [cloudflare] Invalid binding `OG_IMAGE_CACHE`: `undefined`",
"message": "[Nuxt OG Image] Failed to connect to cache /nuxt-og-image/5.0.2. Response from cache: [unstorage] [cloudflare] Invalid binding `OG_IMAGE_CACHE`: `undefined`"
}
How can i set the correct binding?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
questionFurther information is requestedFurther information is requested