mirror of
https://github.com/djdevin/recflare.git
synced 2026-09-09 07:01:27 -07:00
33 lines
1.0 KiB
JSON
33 lines
1.0 KiB
JSON
{
|
|
"$schema": "node_modules/wrangler/config-schema.json",
|
|
"name": "rooms",
|
|
"main": "src/rooms.app.ts",
|
|
"compatibility_date": "2025-09-20",
|
|
"compatibility_flags": ["nodejs_compat"],
|
|
// Room storage. Create with `wrangler d1 create rec-rooms`, then put the real
|
|
// id in the gitignored root .env under RECFLARE_D1 (see .env.example) — it is
|
|
// spliced in at deploy time by run-wrangler-deploy. The "local" placeholder
|
|
// below is only a key for the local SQLite db used by `wrangler dev`, so the
|
|
// committed file needs no per-developer edits. Apply migrations with
|
|
// `wrangler d1 migrations apply rec-rooms --remote`.
|
|
"d1_databases": [
|
|
{
|
|
"binding": "DB",
|
|
"database_name": "rec-rooms",
|
|
"database_id": "local",
|
|
"migrations_dir": "migrations"
|
|
}
|
|
],
|
|
"upload_source_maps": true,
|
|
"observability": {
|
|
"logs": {
|
|
"enabled": true,
|
|
"head_sampling_rate": 1 // 100%
|
|
}
|
|
},
|
|
"vars": {
|
|
"ENVIRONMENT": "development", // overridden during deployment
|
|
"SENTRY_RELEASE": "unknown" // overridden during deployment
|
|
}
|
|
}
|