Skip to content

Commit bb30c39

Browse files
fixup! create a wrangler.toml file for the user in case one is not already present
add a comment for the cache kv binding
1 parent 1aa668e commit bb30c39

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

packages/cloudflare/templates/defaults/wrangler.jsonc

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,13 @@
88
"assets": {
99
"directory": ".open-next/assets",
1010
"binding": "ASSETS"
11-
}
11+
},
12+
"kv_namespaces": [
13+
// Create a KV binding with the binding name "NEXT_CACHE_WORKERS_KV"
14+
// to enable the KV based caching:
15+
// {
16+
// "binding": "NEXT_CACHE_WORKERS_KV",
17+
// "id": "<BINDING_ID>"
18+
// }
19+
]
1220
}

0 commit comments

Comments
 (0)