-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
11 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,28 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<title>Page Moved</title> | ||
</head> | ||
<body> | ||
<p> | ||
The page you are looking for has moved. Please visit | ||
<a href="https://ubc-vision.github.io/stablekeypoints/" | ||
>https://ubc-vision.github.io/stablekeypoints/</a | ||
>. | ||
</p> | ||
</body> | ||
<head> | ||
<title>Redirecting...</title> | ||
<script type="text/javascript"> | ||
document.addEventListener("DOMContentLoaded", function () { | ||
console.log("404 page loaded"); | ||
|
||
var currentUrl = window.location.href; | ||
console.log("Current URL: " + currentUrl); | ||
|
||
if (currentUrl.toLowerCase().includes("/stablekeypoints")) { | ||
console.log("Redirecting to the correct URL"); | ||
window.location.href = | ||
"https://ubc-vision.github.io/stablekeypoints/"; | ||
} else { | ||
console.log("No redirection needed"); | ||
} | ||
}); | ||
</script> | ||
</head> | ||
<body> | ||
<p>Redirecting...</p> | ||
<p> | ||
If you are not redirected, | ||
<a href="https://ubc-vision.github.io/stablekeypoints/">click here</a>. | ||
</p> | ||
</body> | ||
</html> |