-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathwrangler.toml
More file actions
39 lines (31 loc) Β· 1.37 KB
/
wrangler.toml
File metadata and controls
39 lines (31 loc) Β· 1.37 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# CanFly.ai β Cloudflare Pages project config
# Used for local dev (wrangler pages dev) and D1 migrations
name = "canfly-ai"
compatibility_date = "2024-09-23"
compatibility_flags = ["nodejs_compat"]
[vars]
SATORI_STANDALONE = "1"
PRIVY_APP_ID = "cmmsdn6om01vo0cl4gowxmydu"
[[d1_databases]]
binding = "DB"
database_name = "canfly-community"
database_id = "9120faa2-182e-4064-aa86-e0d9a411b169"
migrations_dir = "migrations"
[[r2_buckets]]
binding = "AVATARS"
bucket_name = "canfly-avatars"
[[r2_buckets]]
binding = "TASK_RESULTS"
bucket_name = "canfly-task-results"
# System email: switched to BaseMail API (CAN-288)
# Previously used Cloudflare Email Routing (CAN-283)
# SLA timeout cron β call POST /api/cron/sla-timeout every 10 minutes
# Set CRON_SECRET in dashboard secrets; pass as Authorization: Bearer <secret>
# Use Cloudflare Worker cron trigger or external scheduler (e.g. cron-job.org)
# Heartbeat sweep cron β call POST /api/cron/heartbeat-sweep every 5 minutes
# Picks up paid tasks that weren't executed (webhook failure fallback)
# Requires GEMINI_API_KEY and/or OPENAI_API_KEY for AI Cover Image execution
# Protected by same CRON_SECRET as sla-timeout
# Escrow auto-release cron β call POST /api/cron/escrow-auto-release daily
# Auto-releases escrow funds when buyer doesn't confirm within 7 days after completion
# Protected by same CRON_SECRET as sla-timeout (CAN-265)