diff --git a/_static/version_switch.js b/_static/version_switch.js index 8ac9acb1..44b6815f 100644 --- a/_static/version_switch.js +++ b/_static/version_switch.js @@ -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) { diff --git a/git-develop/_static/version_switch.js b/git-develop/_static/version_switch.js index 8ac9acb1..44b6815f 100644 --- a/git-develop/_static/version_switch.js +++ b/git-develop/_static/version_switch.js @@ -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) {