summaryrefslogtreecommitdiff
path: root/static
diff options
context:
space:
mode:
authorerdgeist <erdgeist@erdgeist.org>2025-01-06 03:01:25 +0100
committererdgeist <erdgeist@erdgeist.org>2025-01-06 03:01:25 +0100
commit9498dc9d788c222485b8af64860128b4d33bb039 (patch)
tree8a3a0e5ee07464a6cd6e2ff70b98f2f00d8e54c4 /static
parentfd1137c3b5d49c1e98194bcceebdbaaa064bc531 (diff)
Make version_url provided by the server
Diffstat (limited to 'static')
-rw-r--r--static/fullnarp.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/static/fullnarp.js b/static/fullnarp.js
index a7aed91..a6cef96 100644
--- a/static/fullnarp.js
+++ b/static/fullnarp.js
@@ -432,7 +432,7 @@ function getFullnarpData() {
432 } 432 }
433 window.lastupdate = data.current_version; 433 window.lastupdate = data.current_version;
434 current_version_string = ('00000'+data.current_version).slice(-5); 434 current_version_string = ('00000'+data.current_version).slice(-5);
435 document.querySelector('.version').innerHTML = '<a href="https://content.events.ccc.de/fullnarp/versions/fullnarp_'+current_version_string+'.json">Version: '+data.current_version+'</a>'; 435 document.querySelector('.version').innerHTML = '<a href="' + data.version_url + '">Version: '+data.current_version+'</a>';
436 break; 436 break;
437 437
438 default: 438 default: