From c194862e00ee895e75a2c2184ee9ccfaff884eaa Mon Sep 17 00:00:00 2001 From: Tykayn Date: Tue, 23 Sep 2025 12:19:03 +0200 Subject: [PATCH] up fetch api route --- oedb/resources/demo/demo_main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {