From 3aec69e3e667d9101e2d4d2bbd4ff9c64bdddedc Mon Sep 17 00:00:00 2001 From: Kim Huebel Date: Sat, 13 Mar 2021 20:02:19 +0000 Subject: [PATCH] Correct URL for TG_List.csv The request was build on a crazy way not sure why working :-) --- html/js/functions.js | 2 +- html/js/version.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/html/js/functions.js b/html/js/functions.js index 0e5c4dd..034636b 100644 --- a/html/js/functions.js +++ b/html/js/functions.js @@ -877,7 +877,7 @@ $(document).ready(function() { $(document).ready(function() { $.ajax({ type: "GET", - url: window.location.protocol + 'data/TG_List.csv', + url: window.location.href.substring(0, window.location.href.lastIndexOf("/") + 1) + 'data/TG_List.csv', dataType: "text", success: function(data) {processData(data);} }); diff --git a/html/js/version.js b/html/js/version.js index e3403de..3026f6c 100644 --- a/html/js/version.js +++ b/html/js/version.js @@ -1 +1 @@ -var dashboard_version = "2021-03-13 19:26:41"; +var dashboard_version = "2021-03-13 20:02:19";