forked from miantiao-me/Sink
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathwrangler.jsonc
More file actions
51 lines (51 loc) · 1.15 KB
/
wrangler.jsonc
File metadata and controls
51 lines (51 loc) · 1.15 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
{
"$schema": "node_modules/wrangler/config-schema.json",
"name": "sink",
"main": ".output/server/index.mjs",
"assets": {
"binding": "ASSETS",
"directory": ".output/public",
"html_handling": "drop-trailing-slash"
},
"compatibility_date": "2025-05-08",
"compatibility_flags": [
"nodejs_compat"
],
"keep_vars": true,
"upload_source_maps": true,
"observability": {
"logs": {
"enabled": true
},
"traces": {
"enabled": true
}
},
"ai": {
"binding": "AI",
"remote": true
},
"analytics_engine_datasets": [
{
"binding": "ANALYTICS",
"dataset": "sink"
}
],
"kv_namespaces": [
{
"binding": "KV",
"preview_id": "ef93d42dc4b34969bab404d2e80f8dd3",
"id": "552ee2a57c7b45d2b0a279ff8a33fae9" // IMPORTANT: Change this to your KV namespace ID
}
],
"r2_buckets": [
{
"binding": "R2",
"preview_bucket_name": "sink",
"bucket_name": "sink" // IMPORTANT: Change this to your R2 bucket name, or create one with `wrangler r2 bucket create sink`
}
],
"triggers": {
"crons": ["0 0 * * *"] // Run backup task daily at 00:00 UTC
}
}