We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9f546f3 commit 74d1c11Copy full SHA for 74d1c11
packages/cloudflare/templates/wrangler.jsonc
@@ -9,10 +9,13 @@
9
"binding": "ASSETS"
10
},
11
"r2_buckets": [
12
- // Create a binding to use R2 incremental cache
13
- // {
14
- // "binding": "NEXT_INC_CACHE_R2_BUCKET",
15
- // "bucket_name": "<BUCKET_NAME>",
16
- // },
+ // Use R2 incremental cache
+ // See https://opennext.js.org/cloudflare/caching
+ {
+ "binding": "NEXT_INC_CACHE_R2_BUCKET",
+ // Create a bucket before deploying
17
+ // See https://developers.cloudflare.com/workers/wrangler/commands/#r2-bucket-create
18
+ "bucket_name": "<BUCKET_NAME>"
19
+ }
20
]
21
}
0 commit comments