diff options
author | erdgeist <erdgeist@erdgeist.org> | 2025-01-06 03:01:25 +0100 |
---|---|---|
committer | erdgeist <erdgeist@erdgeist.org> | 2025-01-06 03:01:25 +0100 |
commit | 9498dc9d788c222485b8af64860128b4d33bb039 (patch) | |
tree | 8a3a0e5ee07464a6cd6e2ff70b98f2f00d8e54c4 /static/fullnarp.js | |
parent | fd1137c3b5d49c1e98194bcceebdbaaa064bc531 (diff) |
Make version_url provided by the server
Diffstat (limited to 'static/fullnarp.js')
-rw-r--r-- | static/fullnarp.js | 2 |
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: |