drones/wrangler.toml
King Omar 224792550f Rename CritterScope → Drones (repo, subdomain, branding)
Worker + subdomain now drones.theradicalparty.com; in-app title/brand,
package names, docs updated. D1 database binding kept as-is.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-25 17:56:53 +10:00

20 lines
672 B
TOML

name = "drones"
main = "src/index.js"
compatibility_date = "2024-11-01"
compatibility_flags = ["nodejs_compat"]
routes = [{ pattern = "drones.theradicalparty.com", custom_domain = true }]
[vars]
BASE_URL = "https://drones.theradicalparty.com"
# Default map center [lon, lat] and survey radius (metres). Override per-survey via ?lat=&lon=&r=
DEFAULT_LON = "150.3119"
DEFAULT_LAT = "-33.7300"
DEFAULT_RADIUS_M = "1000"
# D1: stores real drone surveys/detections. Falls back to the live simulator
# when no ?survey=<id> is requested or the id isn't found.
[[d1_databases]]
binding = "DB"
database_name = "critterscope"
database_id = "03814d82-cab0-4f2a-860a-2faf31742960"