mirror of
https://github.com/DidiDidi129/Website.git
synced 2026-04-05 03:54:38 +00:00
Agent-Logs-Url: https://github.com/DidiDidi129/Website/sessions/56af786c-3686-4dae-a713-5f7c5fd5209f Co-authored-by: DidiDidi129 <136057713+DidiDidi129@users.noreply.github.com>
25 lines
616 B
HTML
25 lines
616 B
HTML
<!DOCTYPE html>
|
||
<html lang="en">
|
||
<head>
|
||
<meta charset="UTF-8">
|
||
<link rel="icon" href="images/PFP.png" type="image/png">
|
||
<title>Redirecting...</title>
|
||
<script>
|
||
// Get the current path, remove leading slash
|
||
const path = window.location.pathname.slice(1);
|
||
|
||
// Redirect to /#path if there’s a path
|
||
if (path) {
|
||
window.location.replace('/#' + path);
|
||
} else {
|
||
// fallback to home
|
||
window.location.replace('/');
|
||
}
|
||
</script>
|
||
</head>
|
||
<body>
|
||
<p>Redirecting...</p>
|
||
<p>If you are not redirected automatically, <a id="fallback" href="/">click here</a>.</p>
|
||
</body>
|
||
</html>
|