-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path404.html
More file actions
19 lines (19 loc) · 725 Bytes
/
404.html
File metadata and controls
19 lines (19 loc) · 725 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<!DOCTYPE html>
<html lang="fr">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>StreamIt</title>
<script>
(function () {
var full = window.location.pathname + window.location.search + window.location.hash;
var parts = window.location.pathname.split('/').filter(Boolean);
var base = parts[0] === 'StreamIt' ? '/StreamIt/' : '/';
var relative = full.startsWith(base) ? '/' + full.slice(base.length) : full;
var target = base + 'index.html?route=' + encodeURIComponent(relative);
window.location.replace(target);
})();
</script>
</head>
<body></body>
</html>