-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path404.html
More file actions
46 lines (45 loc) · 1.62 KB
/
404.html
File metadata and controls
46 lines (45 loc) · 1.62 KB
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
44
45
46
<!doctype html>
<html lang="en">
<head>
<script>
// Single Page Apps for GitHub Pages - Immediate redirect
// https://github.com/rafgraph/spa-github-pages
(function() {
var pathSegmentsToKeep = 0;
var l = window.location;
var redirect = l.protocol + '//' + l.hostname + (l.port ? ':' + l.port : '') +
l.pathname.split('/').slice(0, 1 + pathSegmentsToKeep).join('/') + '/?/' +
l.pathname.slice(1).split('/').slice(pathSegmentsToKeep).join('/').replace(/&/g, '~and~') +
(l.search ? '&' + l.search.slice(1).replace(/&/g, '~and~') : '') +
l.hash;
l.replace(redirect);
})();
</script>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>web-lang</title>
<script>
// Single Page Apps for GitHub Pages
// https://github.com/rafgraph/spa-github-pages
(function(l) {
if (l.search[1] === '/' ) {
var decoded = l.search.slice(1).split('&').map(function(s) {
return s.replace(/~and~/g, '&')
}).join('?');
window.history.replaceState(null, null,
l.pathname.slice(0, -1) + decoded + l.hash
);
}
}(window.location))
</script>
<noscript>
<meta http-equiv="refresh" content="0; url=/">
</noscript>
<script type="module" crossorigin src="/assets/index-IdyLI1Tv.js"></script>
<link rel="stylesheet" crossorigin href="/assets/index-5SZO5ioR.css">
</head>
<body>
<div id="root"></div>
</body>
</html>