mirror of
https://github.com/djdevin/recflare.git
synced 2026-09-08 06:31:27 -07:00
36 lines
965 B
JSON
36 lines
965 B
JSON
{
|
|
"$schema": "node_modules/wrangler/config-schema.json",
|
|
"name": "playersettings",
|
|
"main": "src/playersettings.app.ts",
|
|
"compatibility_date": "2025-09-20",
|
|
"compatibility_flags": ["nodejs_compat"],
|
|
// Per-player settings persistence.
|
|
"kv_namespaces": [
|
|
{
|
|
"binding": "RECFLARE_PLAYER_SETTINGS",
|
|
"id": "local"
|
|
}
|
|
],
|
|
// Shared Secrets Store holding the HS256 JWT signing key. Every worker binds the
|
|
// same store as JWT_SECRET so tokens signed by `auth` verify here. The "local"
|
|
// store_id placeholder is replaced with RECFLARE_SECRETS_STORE at deploy time.
|
|
"secrets_store_secrets": [
|
|
{
|
|
"binding": "JWT_SECRET",
|
|
"store_id": "local",
|
|
"secret_name": "JWT_SECRET"
|
|
}
|
|
],
|
|
"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
|
|
}
|
|
}
|