Remove base path #2
@ -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>
|
||||||
|
Loading…
Reference in New Issue
Block a user