Getting KV values locally in workers dev #1373
Unanswered
akshaybabloo
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
In Wrangler 2 I was able to bind KV name spaces locally when I ran the workers for dev. Since Wrangler 3, I am not able to fetch any values inside the local dev. I have also added
preview_id
like this:But I can't seem to get it working. I am using Honojs for this and the code for that is
The output of that is
But when I use the
wrangler
CLI to list the keys, they seem to work, here is the one for the previewI am not sure what I am doing wrong, how can I access the preview keys locally in workers?
Beta Was this translation helpful? Give feedback.
All reactions