Skip to content

Commit

Permalink
hardcode taxonium
Browse files Browse the repository at this point in the history
  • Loading branch information
theosanderson committed Oct 26, 2024
1 parent afe628e commit bcd0cef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion taxonium_website/src/App.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ function checkLegacyHostname() {
) {
// If we find a match, redirect to the new path
// Preserve any query parameters
const newPath = `${window.location.protocol}//${window.location.host}/${path}${window.location.search}`;
const newPath = `//taxonium.org/${path}${window.location.search}`;

// Only redirect if we're not already on the correct path
if (!window.location.pathname.startsWith(`/${path}`)) {
Expand Down

0 comments on commit bcd0cef

Please sign in to comment.