Remove base path #2

Merged
telackey merged 5 commits from telackey/verify into master 2023-09-13 21:24:01 +00:00
Showing only changes of commit 4520af4c55 - Show all commits

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>