No need for base path.

This commit is contained in:
Thomas E Lackey 2023-09-13 21:21:54 +00:00
parent 616bdaa422
commit 4520af4c55

View File

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