diff --git a/oedb/resources/demo/demo_main.py b/oedb/resources/demo/demo_main.py index 8eb84e4..ca1fe23 100644 --- a/oedb/resources/demo/demo_main.py +++ b/oedb/resources/demo/demo_main.py @@ -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) {