-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathwrangler.jsonc
More file actions
33 lines (33 loc) · 898 Bytes
/
wrangler.jsonc
File metadata and controls
33 lines (33 loc) · 898 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
/**
* For more details on how to configure Wrangler, refer to:
* https://developers.cloudflare.com/workers/wrangler/configuration/
*/
{
"$schema": "node_modules/wrangler/config-schema.json",
"name": "react-postgres-fullstack-template",
"main": "api/index.js",
"compatibility_flags": ["nodejs_compat"],
"compatibility_date": "2025-10-08",
"observability": {
"enabled": true
},
"assets": {
"binding": "ASSETS",
"not_found_handling": "single-page-application"
},
// Hyperdrive binding is optional - if not provided, app will use mock data
// To enable Hyperdrive, uncomment and configure properly:
/*
"hyperdrive": [
{
"binding": "HYPERDRIVE",
"id": "YOUR_HYPERDRIVE_ID",
"localConnectionString": "postgresql://myuser:mypassword@localhost:5432/mydatabase"
}
],
*/
"placement": {
"mode": "smart"
},
"upload_source_maps": true
}