Skip to content

Commit

Permalink
Fix versions.json path calculation
Browse files Browse the repository at this point in the history
  • Loading branch information
greenc-FNAL committed Oct 3, 2023
1 parent c871e65 commit 5eb498f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion _static/version_switch.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

async function getVersions() {
try {
let res = await fetch(DOCUMENTATION_OPTIONS.CONTENT_ROOT + '../versions.json');
let res = await fetch(content_root + '../versions.json');
return await res.json();
}
catch(error) {
Expand Down
2 changes: 1 addition & 1 deletion git-develop/_static/version_switch.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

async function getVersions() {
try {
let res = await fetch(DOCUMENTATION_OPTIONS.CONTENT_ROOT + '../versions.json');
let res = await fetch(content_root + '../versions.json');
return await res.json();
}
catch(error) {
Expand Down

0 comments on commit 5eb498f

Please sign in to comment.