Add redirect for old dump viewer and config editor paths

This commit is contained in:
Luke committed 2024-06-18 13:06:51 +01:00
1 parent 29870726ab
commit dc8f648b57
2 files changed
+22

No files matched your search

+11
View File
@@ -0,0 +1,11 @@
import { useEffect } from "react";
/**
* This file exists as a simple redirect for the old geyser site path to the new one.
*/
export default function ConfigEditorRedirect() {
useEffect(() => {
window.location.href = "/utilities/config-editor";
}, []);
return <h1>Redirecting...</h1>
}
+11
View File
@@ -0,0 +1,11 @@
import { useEffect } from "react";
/**
* This file exists as a simple redirect for the old geyser site path to the new one.
*/
export default function DumpViewerRedirect() {
useEffect(() => {
window.location.href = "/utilities/dump-viewer" + (window.location.hash || "");
}, []);
return <h1>Redirecting...</h1>
}