-
Notifications
You must be signed in to change notification settings - Fork 0
/
404.html
43 lines (38 loc) · 1.64 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
36
37
38
39
40
41
42
43
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Error 404 - Page Not Found</title>
<script>
window.onload = function () {
const repos = [
"grails-plugins.github.io/grails-angularjs-scaffolding",
"grails-plugins.github.io/grails-cache",
"grails-plugins.github.io/grails-database-migration",
"grails-plugins.github.io/grails-embedded-mongodb",
"grails-plugins.github.io/grails-quartz",
"grails-plugins.github.io/grails-redis",
"grails-plugins.github.io/grails-spring-security-acl",
"grails-plugins.github.io/grails-spring-security-cas",
"grails-plugins.github.io/grails-spring-security-core",
"grails-plugins.github.io/grails-spring-security-oauth2",
"grails-plugins.github.io/grails-spring-security-rest",
"grails-plugins.github.io/grails-spring-security-ui"];
const destination = window.location.href;
for (let i = 0; i < repos.length; i++) {
if (window.location.href.includes(repos[i])) {
const redirectLocation = window.location.href.replace(
"grails-plugins.github.io/",
"grails.github.io/"
);
document.getElementById("body").innerHTML = "Redirecting to " + redirectLocation + " ...";
window.location.href = redirectLocation;
}
}
}
</script>
</head>
<body id="body" style="text-align: center">
Page not found
</body>
</html>