-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathwrangler.jsonc
More file actions
57 lines (57 loc) · 1.53 KB
/
wrangler.jsonc
File metadata and controls
57 lines (57 loc) · 1.53 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
{
"$schema": "./node_modules/wrangler/config-schema.json",
"name": "mad-css",
"account_id": "3ebe60b8bb090efeda7702aff60769bb",
"compatibility_date": "2026-01-07",
"routes": [
{
"pattern": "madcss.com/*",
"zone_name": "madcss.com",
},
{
"pattern": "www.madcss.com/*",
"zone_name": "madcss.com",
},
],
"preview_urls": true,
"compatibility_flags": ["nodejs_compat"],
"main": "src/server.ts",
"observability": {
"traces": {
"enabled": true,
// Must match the destination name in the dashboard
"destinations": ["sentry-traces"],
},
"logs": {
"enabled": true,
// Must match the destination name in the dashboard
"destinations": ["sentry-logs"],
},
},
"kv_namespaces": [
{
"binding": "KV",
// Create your own KV namespace: npx wrangler kv namespace create mad-css-kv
"id": "b7e087b6ed6a4e048c2522476297ed7f",
},
],
"images": {
"binding": "IMAGES",
},
"d1_databases": [
{
"binding": "DB",
// Create your own D1 database: npx wrangler d1 create mad-css-db
"database_name": "mad-css-db",
"database_id": "f44ee260-2c14-49fd-9e98-b27d7add0ef2",
// Create staging DB: npx wrangler d1 create mad-css-db-staging
"preview_database_id": "c61911d8-dd63-425a-aed6-1276334202eb",
"migrations_dir": "drizzle",
},
{
"binding": "mad_css_db_staging",
"database_name": "mad-css-db-staging",
"database_id": "c61911d8-dd63-425a-aed6-1276334202eb",
},
],
}