-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path404.html
More file actions
29 lines (24 loc) · 943 Bytes
/
404.html
File metadata and controls
29 lines (24 loc) · 943 Bytes
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
<!-- adapted from https://gist.github.com/domenic/1f286d415559b56d725bee51a62c24a7?permalink_comment_id=3945701#gistcomment-3945701 -->
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Page not found</title>
<script>
window.onload = function () {
const destination = window.location.href;
if (window.location.href.includes("tybug.github.io")) {
const redirectLocation = window.location.href.replace(
"tybug.github.io",
"liam-devoe.github.io"
);
document.getElementById("body").innerHTML = "ossapi has moved from the tybug.github.io to liam-devoe.github.io. <br/><br/>Redirecting to " + redirectLocation + " ...";
window.location.href = redirectLocation;
}
}
</script>
</head>
<body id="body" style="text-align: center">
Page not found
</body>
</html>