Skip to content

Conversation

losfair
Copy link
Member

@losfair losfair commented Aug 5, 2025

The Deno.openKv() API now checks these env vars:

  • DENO_KV_DEFAULT_PATH - if set, when no database path is specified, use the provided path.
  • DENO_KV_PATH_PREFIX - if set, prepend this to the provided database path - e.g. if DENO_KV_PATH_PREFIX=https://example.com/db/, Deno.openKv("default") will open the database at https://example.com/db/default.

Copy link
Member

@arnauorriols arnauorriols left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@arnauorriols arnauorriols merged commit 678d118 into denoland:main Aug 5, 2025
18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants