-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path404.html
More file actions
31 lines (30 loc) · 1.11 KB
/
404.html
File metadata and controls
31 lines (30 loc) · 1.11 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
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Page not found | Simple Patch Finder</title>
<meta name="robots" content="noindex,follow" />
<script>
(function () {
try {
var canonicalOrigin = "https://simplepatchfinder.ceddc.dev";
var prefix = "/simple-patch-finder";
var pathname = location.pathname || "/";
var hasLegacyPrefix = pathname === prefix || pathname.indexOf(prefix + "/") === 0;
var isLikelyDocumentPath = pathname !== "/" && pathname.indexOf(".") === -1;
if (!(hasLegacyPrefix || isLikelyDocumentPath)) return;
var dest = canonicalOrigin + "/" + (location.search || "") + (location.hash || "");
if (location.href !== dest) location.replace(dest);
} catch {
// ignore
}
})();
</script>
</head>
<body>
<h1>Page not found</h1>
<p>The page could not be found.</p>
<p><a href="https://simplepatchfinder.ceddc.dev/">Go to Simple Patch Finder</a></p>
</body>
</html>