From c4f83366f09cd79d74fae50ea7af4ba53ddf46fb Mon Sep 17 00:00:00 2001 From: Joshua Treudler Date: Thu, 26 Sep 2024 16:56:24 +0200 Subject: [PATCH] load timeline events from json file for now --- public/data/timeline/scripts/timeline/chronik.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/data/timeline/scripts/timeline/chronik.js b/public/data/timeline/scripts/timeline/chronik.js index 27a73e4..3d8f5a9 100755 --- a/public/data/timeline/scripts/timeline/chronik.js +++ b/public/data/timeline/scripts/timeline/chronik.js @@ -128,7 +128,7 @@ Timeline.GregorianDateLabeller.prototype.labelPrecise = function(date) { // data sources tl = Timeline.create(document.getElementById("regnumtl"), bandInfos, Timeline.HORIZONTAL); - tl.loadJSON("/api/v1/timeline/events?"+ (new Date().getTime()), function(json, url) { + tl.loadJSON("./scripts/timeline/regnum.json?"+ (new Date().getTime()), function(json, url) { eventSource.loadJSON(json, url); document.getElementById("regnum-event-count").innerHTML = eventSource.getCount(); });