name = "critterscope" main = "src/index.js" compatibility_date = "2024-11-01" compatibility_flags = ["nodejs_compat"] routes = [{ pattern = "critterscope.theradicalparty.com", custom_domain = true }] [vars] BASE_URL = "https://critterscope.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 is optional for the demo (falls back to the live simulator when empty). # Uncomment + set database_id after: wrangler d1 create critterscope # [[d1_databases]] # binding = "DB" # database_name = "critterscope" # database_id = "REPLACE_ME"