Files
cfw-auth/wrangler.jsonc

31 lines
805 B
JSON

{
"$schema": "node_modules/wrangler/config-schema.json",
"name": "cfw-auth",
"account_id": "67720b647ff2b55cf37ba3ef9e677083",
"main": "src/index.ts",
"compatibility_date": "2026-06-10",
"compatibility_flags": [
"nodejs_compat"
],
"observability": {
"enabled": true,
"head_sampling_rate": 0.1
},
"vars": {
"BETTER_AUTH_URL": "http://localhost:8788",
"TRUSTED_ORIGINS": "http://localhost:8787",
"MAIL_PROVIDER": "resend",
"MAIL_FROM": "noreply@example.com",
"CAPTCHA_PROVIDER": "cloudflare-turnstile",
"BETTER_AUTH_SESSION_COOKIE_CACHE_MAX_AGE": "300",
"API_KEY_DEFER_UPDATES": "true"
},
"d1_databases": [
{
"binding": "DB",
"database_name": "cfw-auth",
"database_id": "90fe25a4-9d22-43a6-9ade-3a15afc3ab47"
}
]
}