-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathwrangler.jsonc
More file actions
52 lines (45 loc) · 1003 Bytes
/
wrangler.jsonc
File metadata and controls
52 lines (45 loc) · 1003 Bytes
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
{
"$schema": "node_modules/wrangler/config-schema.json",
"name": "do-manager",
"main": "worker/index.ts",
"compatibility_date": "2025-01-01",
"compatibility_flags": ["nodejs_compat"],
// Smart Placement disabled for SPA - UI responsiveness priority
"placement": { "mode": "off" },
"build": {
"command": "npm run build",
"cwd": ".",
},
"assets": {
"directory": "./dist",
"binding": "ASSETS",
},
// D1 METADATA DATABASE
"d1_databases": [
{
"binding": "METADATA",
"database_name": "do-manager-metadata",
"database_id": "568945bc-2506-4a17-a929-45b6bbae0d31",
},
],
// R2 BACKUP BUCKET
"r2_buckets": [
{
"binding": "BACKUP_BUCKET",
"bucket_name": "do-manager-backups",
},
],
"observability": {
"logs": {
"enabled": true,
},
},
// Custom domain routing
"routes": [
{
"pattern": "do.adamic.tech",
"custom_domain": true,
"zone_name": "adamic.tech",
},
],
}