You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
The current directory for local wrangler storage (D1, KV, R2) is .data/hub. I have separate cloudflare worker that shares the same DB as my nuxthub project, though wrangler's default location is .wrangler/state/v3. So I can't share storage options locally.
Describe the solution you'd like
A config to change the directory nuxthub uses for local storage
Describe alternatives you've considered
I tried using wrangler's --persist-to=./.data/hub, but that ends up using local DB at .data/hub/v3.
I tried using a symlink from .wrangler/state/v3 to .data/hub, though wrangler fails as it strictly expects a directory, not a link.
Is your feature request related to a problem? Please describe.
The current directory for local wrangler storage (D1, KV, R2) is
.data/hub
. I have separate cloudflare worker that shares the same DB as my nuxthub project, though wrangler's default location is.wrangler/state/v3
. So I can't share storage options locally.Describe the solution you'd like
A config to change the directory nuxthub uses for local storage
Describe alternatives you've considered
I tried using wrangler's
--persist-to=./.data/hub
, but that ends up using local DB at.data/hub/v3
.I tried using a symlink from
.wrangler/state/v3
to.data/hub
, though wrangler fails as it strictly expects a directory, not a link.Additional context
Discord discussion
The text was updated successfully, but these errors were encountered: