-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path404.html
More file actions
54 lines (50 loc) · 1.79 KB
/
404.html
File metadata and controls
54 lines (50 loc) · 1.79 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
47
48
49
50
51
52
53
54
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>Redirecting…</title>
<meta name="robots" content="noindex,follow" />
<meta name="viewport" content="width=device-width,initial-scale=1" />
<!-- If JavaScript is disabled, send users to the docs root -->
<noscript>
<meta http-equiv="refresh" content="3; url=/website/" />
</noscript>
<style>
body {
font-family: system-ui, Arial, sans-serif;
margin: 2rem;
line-height: 1.4;
}
code {
background: #f5f5f5;
padding: 2px 4px;
border-radius: 4px;
}
</style>
<script>
(function () {
var path = location.pathname || '/';
// Only redirect if the original request was NOT already under /website/
if (!path.startsWith('/website/')) {
var target = '/website' + path + (location.search || '') + (location.hash || '');
// Avoid redirecting to the identical URL (paranoia / edge cases)
if (target !== location.href.replace(location.origin, '')) {
location.replace(target);
return;
}
}
// If we reach here, either we're under /website/ already or redirect skipped.
document.documentElement.classList.add('show');
})();
</script>
</head>
<body>
<h1>Page Not Found</h1>
<p>
Attempting to redirect you to the KServe documentation...
</p>
<p>If nothing happens, go to <a href="/website/">/website/</a>.</p>
<p style="margin-top:2rem;font-size:0.9em;color:#555;">If you expected a page like
<code>/website/<version>/...</code> it may have moved or been removed.</p>
</body>
</html>