Skip to content

Commit

Permalink
chore: Update redirect to preserve hash
Browse files Browse the repository at this point in the history
  • Loading branch information
Bobinstein committed Sep 4, 2024
1 parent 5c1993f commit d5dc1c7
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions docs/src/redirects/arcss.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,13 @@ title: Redirecting...
permalink: /arcss/
---

<meta http-equiv="refresh" content="0;url=/wayfinder/" />

<script>
if (typeof window !== 'undefined') {
window.location.href = '/wayfinder/';
const hash = window.location.hash; // Get the current hash (if any)
const newUrl = '/wayfinder/' + hash; // Append the hash to the new URL

// Redirect without a delay
window.location.replace(newUrl);
}
</script>

Expand Down

0 comments on commit d5dc1c7

Please sign in to comment.