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= is requested or the id isn't found. [[d1_databases]] binding = "DB" database_name = "critterscope" database_id = "03814d82-cab0-4f2a-860a-2faf31742960"