up fetch api route

This commit is contained in:
Tykayn 2025-09-23 12:19:03 +02:00 committed by tykayn
parent a2834c1f25
commit c194862e00

View file

@ -365,7 +365,7 @@ class DemoMainResource:
// Function to fetch events from the API
function fetchEvents() {
// Fetch events from the API - using the local API endpoint
fetch('/event?')
fetch('https://api.openeventdatabase.org/event?')
.then(response => response.json())
.then(data => {
if (data.features && data.features.length > 0) {