Skip to content

Commit

Permalink
Update 404.html
Browse files Browse the repository at this point in the history
  • Loading branch information
hector6872 committed Dec 3, 2024
1 parent fcf90af commit 9064020
Showing 1 changed file with 11 additions and 14 deletions.
25 changes: 11 additions & 14 deletions 404.html
Original file line number Diff line number Diff line change
@@ -1,26 +1,23 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta charset='utf-8' />
<title>Redirecting...</title>
<script>
function redirect() {
var location = window.location;
var issueNumber = location.pathname.split("/");
var homepage =
location.protocol +
"//" +
location.hostname +
(location.port ? ":" + location.port : "") +
"/" +
location.pathname.split("/");
var location = window.location
var short = location.pathname.split('/').pop()
switch (short) {
case 'LinaLauncher':
location.replace('https://play.google.com/store/apps/details?id=com.hector6872.lina');
break

console.log(location)
console.log(issueNumber)
console.log(homepage)
default:
location.replace('https://hector6872.github.io')
}
}

redirect();
redirect()
</script>
</head>
<body></body>
Expand Down

0 comments on commit 9064020

Please sign in to comment.