From bcd0cef4f2a604bbfb81dd4b342325309b64674c Mon Sep 17 00:00:00 2001 From: Theo Sanderson Date: Sat, 26 Oct 2024 15:34:45 +0100 Subject: [PATCH] hardcode taxonium --- taxonium_website/src/App.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/taxonium_website/src/App.jsx b/taxonium_website/src/App.jsx index bfd15c49..1c1fdc3f 100644 --- a/taxonium_website/src/App.jsx +++ b/taxonium_website/src/App.jsx @@ -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}`)) {