Skip to content

Commit f032fc1

Browse files
commit super web 2
1 parent 7db9540 commit f032fc1

6 files changed

Lines changed: 210 additions & 6 deletions

File tree

404.html

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
<!doctype html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="UTF-8" />
5+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
6+
<title>Redirecting...</title>
7+
<script type="text/javascript">
8+
(function() {
9+
var l = window.location;
10+
var segmentCount = 0;
11+
if (l.hostname.endsWith('github.io')) {
12+
segmentCount = 1;
13+
}
14+
var pathSegments = l.pathname.split('/').slice(0, 1 + segmentCount).join('/');
15+
l.replace(
16+
l.protocol + '//' + l.hostname + (l.port ? ':' + l.port : '') +
17+
pathSegments + '/?/' +
18+
l.pathname.slice(1).split('/').slice(segmentCount).join('/') +
19+
l.search.replace(/&/g, '~and~') + l.hash
20+
);
21+
})();
22+
</script>
23+
</head>
24+
<body></body>
25+
</html>

0 commit comments

Comments
 (0)