Files
cfw-auth/wrangler.jsonc

39 lines
1.2 KiB
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
},
"routes": [
{
"pattern": "cfw-auth.bowong.cc",
"custom_domain": true
}
],
"vars": {
"NODE_ENV": "production",
"BETTER_AUTH_URL": "https://cfw-auth.bowong.cc",
"TRUSTED_ORIGINS": "https://mixvideo.bowong.cc,https://admin.mixvideo.bowong.cc,https://app.ad1dollar.com,https://web.bowong.cc,https://cfw-gateway.bowong.cc,http://localhost,http://127.0.0.1",
"MAIL_PROVIDER": "resend",
"MAIL_FROM": "support@bowong.ai",
"CAPTCHA_PROVIDER": "cloudflare-turnstile",
"GOOGLE_CLIENT_ID": "794958081888-rnhdqt3buputolarnpagfcp9ad344mbo.apps.googleusercontent.com",
"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"
}
]
}