Add in /salvation

This commit is contained in:
nmemmert
2026-06-08 10:24:37 -04:00
parent 66699270f5
commit 95b7a3f211
3 changed files with 915 additions and 0 deletions
+6
View File
@@ -4,6 +4,12 @@ import { BrowserRouter } from 'react-router-dom'
import './index.css'
import App from './App.tsx'
const SERVER_ONLY_PATHS = ['/salvation']
if (SERVER_ONLY_PATHS.some(p => location.pathname === p || location.pathname === p + '/')) {
location.replace(location.href)
throw new Error('redirecting')
}
createRoot(document.getElementById('root')!).render(
<StrictMode>
<BrowserRouter>