-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathwrangler.jsonc
More file actions
39 lines (39 loc) · 1.37 KB
/
wrangler.jsonc
File metadata and controls
39 lines (39 loc) · 1.37 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
{
// ⚠️ PUBLIC TEMPLATE — this file is committed to a public GitHub repo.
// NEVER put real resource IDs, URLs, domain names, or secrets here.
// All real values belong in wrangler.prod.jsonc (gitignored).
// See docs/development-guide.md § "Why two wrangler config files?"
"$schema": "node_modules/wrangler/config-schema.json",
"name": "emdash-property-web-builder",
"main": "./src/worker.ts",
"compatibility_date": "2026-03-29",
"compatibility_flags": [
"nodejs_compat"
],
"d1_databases": [
{
"binding": "DB",
"database_name": "emdash-property-web-builder",
"database_id": "00000000-0000-0000-0000-000000000000", // replace with your own: wrangler d1 create emdash-property-web-builder
},
],
"r2_buckets": [
{
"binding": "MEDIA",
"bucket_name": "emdash-property-web-builder-media",
},
],
"vars": {
// Set your PWB Rails backend URL after deploying:
// wrangler secret put PWB_API_URL
"PWB_API_URL": "",
// Active colour palette. One of: default | gold | luxury | mediterranean | coastal | countryside | urban | nordic
// Change this and redeploy to switch the site theme. No code changes needed.
"PUBLIC_PALETTE": "default",
},
// kv_namespaces: wrangler will auto-provision SESSION on first deploy.
// After provisioning, wrangler writes the ID to dist/server/wrangler.json (not committed).
"observability": {
"enabled": true,
},
}