We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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?
The text was updated successfully, but these errors were encountered:
Could you try with:
ogImage: { runtimeCacheStorage: { driver: 'cloudflare-kv-binding', binding: 'CACHE' } }
and enable:
hub: { cache: true }
Sorry, something went wrong.
Yes that was it. Thanks!
No branches or pull requests
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 👇
How can i set the correct binding?
The text was updated successfully, but these errors were encountered: