Skip to content

Commit 8c28625

Browse files
hugo-ccabralclaude
andauthored
fix(dev): drop remote:true on DECO_KV binding (#36)
remote:true makes @cloudflare/vite-plugin start a remote proxy session that needs interactive CF auth (spawns xdg-open). Studio's preview runs headless -> 'spawn xdg-open ENOENT' and vite dev never starts. No production impact: wrangler deploy ignores 'remote'; the deployed worker binds the real namespace by id. This only restores local dev / Studio preview. Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent 7daded1 commit 8c28625

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

wrangler.jsonc

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -124,8 +124,7 @@
124124
"kv_namespaces": [
125125
{
126126
"binding": "DECO_KV",
127-
"id": "a205a78ee28c44c3910cf52a3482a65f",
128-
"remote": true
127+
"id": "a205a78ee28c44c3910cf52a3482a65f"
129128
}
130129
]
131130
}

0 commit comments

Comments
 (0)