Skip to content

Commit 4b86033

Browse files
committed
Update URLs in custom JavaScript file.
1 parent 8eccade commit 4b86033

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

doc/source/_static/js/custom.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@ function choose_version(value) {
33
console.log(value);
44

55
console.log(window.location.href);
6-
var parts = window.location.href.split("sire.openbiosim.org/");
6+
var parts = window.location.href.split("biosimspace.openbiosim.org/");
77
console.log(parts);
88

9-
// should be two parts - before sire.openbiosim.org/ and after
9+
// should be two parts - before biosimspace.openbiosim.org/ and after
1010
s = parts[0];
11-
s += "sire.openbiosim.org";
11+
s += "biosimspace.openbiosim.org";
1212
s += value;
1313

1414
if (parts[1].startsWith("versions/")) {
@@ -72,7 +72,7 @@ function fill_versions() {
7272

7373
try
7474
{
75-
xmlhttp.open("GET", "https://sire.openbiosim.org/versions.json",
75+
xmlhttp.open("GET", "https://biosimspace.openbiosim.org/versions.json",
7676
true);
7777
xmlhttp.send();
7878
}

0 commit comments

Comments
 (0)