-
Notifications
You must be signed in to change notification settings - Fork 7
/
404.html
35 lines (31 loc) · 1.25 KB
/
404.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Error 404 :(</title>
<script>
window.onload = function () {
const destination = window.location.href;
if (window.location.href.includes("hyperledger.github.io/caliper")) {
const redirectLocation = window.location.href.replace(
"hyperledger.github.io/caliper",
"hyperledger-caliper.github.io/caliper"
);
document.getElementById("body").innerHTML = "Caliper has moved!<br/><br/>Redirecting to " + redirectLocation + " ...";
window.location.href = redirectLocation;
}
if (window.location.href.includes("hyperledger.github.io/cacti")) {
const redirectLocation = window.location.href.replace(
"hyperledger.github.io/cacti",
"hyperledger-cacti.github.io/cacti"
);
document.getElementById("body").innerHTML = "Cacti has moved!<br/><br/>Redirecting to " + redirectLocation + " ...";
window.location.href = redirectLocation;
}
}
</script>
</head>
<body id="body" style="text-align: center">
Page not found
</body>
</html>