-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathwrangler.prod.jsonc.example
More file actions
47 lines (47 loc) · 1.2 KB
/
wrangler.prod.jsonc.example
File metadata and controls
47 lines (47 loc) · 1.2 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
// Copy this file to wrangler.prod.jsonc and fill in your account-specific values.
// wrangler.prod.jsonc is gitignored — never commit the real IDs.
//
// This config points at the pre-built dist/server/entry.mjs so wrangler does
// not attempt to re-bundle the source (which would fail on Astro virtual modules).
// The deploy:prod script runs `astro build` automatically before deploying.
//
// To find your database_id: wrangler d1 list
// To create a new database: wrangler d1 create emdash-property-web-builder
{
"$schema": "node_modules/wrangler/config-schema.json",
"name": "emdash-property-web-builder",
"main": "./dist/server/entry.mjs",
"no_bundle": true,
"compatibility_date": "2026-03-29",
"compatibility_flags": [
"nodejs_compat"
],
"assets": {
"binding": "ASSETS",
"directory": "./dist/client",
},
"d1_databases": [
{
"binding": "DB",
"database_name": "emdash-property-web-builder",
"database_id": "YOUR-D1-DATABASE-ID-HERE",
},
],
"r2_buckets": [
{
"binding": "MEDIA",
"bucket_name": "emdash-property-web-builder-media",
},
],
"kv_namespaces": [
{
"binding": "SESSION",
},
],
"vars": {
"PWB_API_URL": "",
},
"observability": {
"enabled": true,
},
}