mirror of
https://github.com/djdevin/recflare.git
synced 2026-09-08 06:31:27 -07:00
40 lines
1.1 KiB
JSON
40 lines
1.1 KiB
JSON
{
|
|
"$schema": "node_modules/wrangler/config-schema.json",
|
|
"name": "auth",
|
|
"main": "src/auth.app.ts",
|
|
"compatibility_date": "2025-09-20",
|
|
"compatibility_flags": ["nodejs_compat"],
|
|
// Shared D1 database (also used by the rooms worker). The `auth` worker owns
|
|
// the `accounts` table; a dedicated migrations_table keeps its migration
|
|
// history separate from the rooms worker's migrations on the same database.
|
|
"d1_databases": [
|
|
{
|
|
"binding": "DB",
|
|
"database_name": "rec-rooms",
|
|
"database_id": "d44083e1-5bfe-4467-aa9a-f13c5c2496d5",
|
|
"migrations_dir": "migrations",
|
|
"migrations_table": "d1_migrations_auth"
|
|
}
|
|
],
|
|
// Shared match-presence KV (owned by the `match` worker) — used to place new
|
|
// accounts into the Orientation room on signup.
|
|
"kv_namespaces": [
|
|
{
|
|
"binding": "MATCH_PRESENCE",
|
|
"id": "9f53f04b7dd244658d59f515a14748b6"
|
|
}
|
|
],
|
|
"logpush": false,
|
|
"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
|
|
}
|
|
}
|