Skip to content

Commit

Permalink
Set default version
Browse files Browse the repository at this point in the history
  • Loading branch information
fvanroie committed Dec 9, 2023
1 parent 3e18874 commit 793f610
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions custom_theme/main.html
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@
xhr.open("GET", "/versions.json");
xhr.onload = function() {
var versions = JSON.parse(this.responseText);
latest_version = ""
dev_version = ""
latest_version = "/0.0.0/"
dev_version = "/0.0.0/"
for (id in versions) {
if (versions[id]["aliases"].length > 0 && versions[id]["aliases"].includes("latest")) {
latest_version = "/" + versions[id].version + "/";
Expand Down

0 comments on commit 793f610

Please sign in to comment.