-
-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathwrangler.jsonc
More file actions
38 lines (38 loc) · 1.01 KB
/
wrangler.jsonc
File metadata and controls
38 lines (38 loc) · 1.01 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
{
"$schema": "node_modules/wrangler/config-schema.json",
"main": ".open-next/worker.js",
"name": "website",
"compatibility_date": "2026-03-17",
"compatibility_flags": [
"nodejs_compat",
"global_fetch_strictly_public"
],
"assets": {
"directory": ".open-next/assets",
"binding": "ASSETS"
},
"services": [
{
// Self-reference service binding, the service name must match the worker name
// see https://opennext.js.org/cloudflare/caching
"binding": "WORKER_SELF_REFERENCE",
"service": "website"
}
],
"r2_buckets": [
// Use R2 incremental cache
// See https://opennext.js.org/cloudflare/caching
{
"binding": "NEXT_INC_CACHE_R2_BUCKET",
// Create the bucket before deploying
// You can change the bucket name if you want
// See https://developers.cloudflare.com/workers/wrangler/commands/#r2-bucket-create
"bucket_name": "website-opennext-cache"
}
],
"images": {
// Enable image optimization
// see https://opennext.js.org/cloudflare/howtos/image
"binding": "IMAGES"
}
}