Remove base path (#2)

Reviewed-on: #2
Co-authored-by: Thomas E Lackey <telackey@bozemanpass.com>
Co-committed-by: Thomas E Lackey <telackey@bozemanpass.com>
This commit is contained in:
Thomas E Lackey 2023-09-13 21:23:59 +00:00 committed by Thomas E Lackey
parent 20fbc3a9ff
commit 026c8f448f

View File

@ -7,14 +7,13 @@ import VerifyPage from './components/pages/VerifyPage'
import './App.css' import './App.css'
export default function App() { export default function App() {
const basePath = "LACONIC_HOSTED_CONFIG_web_path"
return ( return (
<Router> <Router>
<div> <div>
<Routes> <Routes>
<Route exact path={basePath} element={ <RegisterPage/> } /> <Route exact path="/" element={ <RegisterPage/> } />
<Route exact path={basePath + "/create"} element={ <RegisterPage/> } /> <Route exact path="/create" element={ <RegisterPage/> } />
<Route exact path={basePath + "/verify"} element={ <VerifyPage/> } /> <Route exact path="/verify" element={ <VerifyPage/> } />
</Routes> </Routes>
<Footer /> <Footer />
</div> </div>