-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathwrangler.jsonc
More file actions
28 lines (28 loc) · 942 Bytes
/
Copy pathwrangler.jsonc
File metadata and controls
28 lines (28 loc) · 942 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
// Wrangler config — used by the Cloudflare Vite plugin in dev and by `wrangler`
// CLI commands (d1 migrations/execute, deploy).
{
"$schema": "node_modules/wrangler/config-schema.json",
"name": "progress",
"main": "src/worker/index.ts",
"compatibility_date": "2025-12-01",
"assets": {
// Client routes are handled by the SPA; anything that isn't a real asset
// falls back to index.html.
"not_found_handling": "single-page-application",
// API routes must reach the Worker, never the asset handler.
"run_worker_first": ["/api/*"]
},
"d1_databases": [
{
"binding": "DB",
"database_name": "progress-db",
// Production database (created 2026-06-12, region ENAM). Local dev uses
// Miniflare's local SQLite and ignores this id.
"database_id": "431fe3c3-4bae-41fb-8757-cdcb69b085f5",
"migrations_dir": "drizzle"
}
],
"observability": {
"enabled": true
}
}