up add any

This commit is contained in:
Tykayn 2025-09-27 15:57:59 +02:00 committed by tykayn
parent 0a7a527e68
commit 30aa570a43
3 changed files with 247 additions and 39 deletions

View file

@ -483,7 +483,7 @@
// Charger les événements
async function loadEvents() {
try {
const response = await fetch(`https://api.openeventdatabase.org/event?what=${eventType}&limit=1000 &start=1970-01-01T00:00:00Z&stop=2099-12-31T23:59:59Z`);
const response = await fetch(`https://api.openeventdatabase.org/event?what=${eventType}&limit=200 &start=2010-01-01T00:00:00Z&stop=2026-12-31T23:59:59Z`);
if (!response.ok) {
throw new Error(`HTTP ${response.status}: ${response.statusText}`);