-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathwrangler.jsonc
More file actions
78 lines (77 loc) · 2.25 KB
/
Copy pathwrangler.jsonc
File metadata and controls
78 lines (77 loc) · 2.25 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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
{
"$schema": "node_modules/wrangler/config-schema.json",
"main": ".open-next/worker.js",
"name": "thisuxcms",
"compatibility_date": "2025-08-15",
"compatibility_flags": [
// Enable Node.js API
// see https://developers.cloudflare.com/workers/configuration/compatibility-flags/#nodejs-compatibility-flag
"nodejs_compat",
// Allow to fetch URLs in your app
// see https://developers.cloudflare.com/workers/configuration/compatibility-flags/#global-fetch-strictly-public
"global_fetch_strictly_public",
],
"assets": {
"directory": ".open-next/assets",
"binding": "ASSETS",
},
"d1_databases": [
{
"binding": "D1",
"database_id": "9038c11d-6a18-4180-9bdd-af6998a73a50",
"database_name": "thisux-cms-d1",
"remote": true,
},
],
"services": [
// The service should match the "name" of your worker
// {
// "binding": "WORKER_SELF_REFERENCE",
// "service": "my-app"
// },
],
"r2_buckets": [
{
"binding": "R2",
"bucket_name": "thisux-cms-r2","preview_bucket_name": "thisux-cms-r2",
},
// Create a R2 binding with the binding name "NEXT_INC_CACHE_R2_BUCKET"
// {
// "binding": "NEXT_INC_CACHE_R2_BUCKET",
// "bucket_name": "<BUCKET_NAME>",
// },
],
// Here's how to configure an additional environment
// It can be deployed with `CLOUDFLARE_ENV=staging pnpm run deploy`
// "env": {
// "staging": {
// "name": "my-app-staging",
// "d1_databases": [
// {
// "binding": "D1",
// "database_id": "DATABASE_ID",
// "database_name": "my-app-staging",
// "remote": true
// }
// ],
// "services": [
// // The service should match the "name" of your worker
// // {
// // "binding": "WORKER_SELF_REFERENCE",
// // "service": "my-app-staging"
// // },
// ],
// "r2_buckets": [
// {
// "binding": "R2",
// "bucket_name": "my-app-staging"
// }
// // Create a R2 binding with the binding name "NEXT_INC_CACHE_R2_BUCKET"
// // {
// // "binding": "NEXT_INC_CACHE_R2_BUCKET",
// // "bucket_name": "<BUCKET_NAME>",
// // },
// ]
// }
// }
}