mirror of
https://github.com/openziti/zrok.git
synced 2025-01-25 07:19:11 +01:00
16 lines
413 B
JavaScript
16 lines
413 B
JavaScript
import { BrowserRouter as Router, Route, Routes } from 'react-router-dom';
|
|
import Register from "./Register";
|
|
import Console from "./Console";
|
|
|
|
const App = () => {
|
|
return (
|
|
<Router>
|
|
<Routes>
|
|
<Route path={"/"} element={<Console/>}/>
|
|
<Route path={"register/:token"} element={<Register/>} />
|
|
</Routes>
|
|
</Router>
|
|
);
|
|
}
|
|
|
|
export default App |