Spaces:
Sleeping
Sleeping
Commit ·
9521ea5
1
Parent(s): 1ff1e61
Deploy Pathora Viewer: tile server, viewer components, and root app.py (#2)
Browse files- Deploy Pathora Viewer: tile server, viewer components, and root app.py (a3c40baea6863f802539bb0a35150e0f6919d592)
frontend/src/AppRouter.tsx
CHANGED
|
@@ -4,10 +4,13 @@ import { App } from "./App";
|
|
| 4 |
import { PathoraViewer } from "./components/viewer/PathoraViewer";
|
| 5 |
|
| 6 |
export function AppRouter() {
|
| 7 |
-
return
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
</
|
| 12 |
-
|
|
|
|
|
|
|
|
|
|
| 13 |
}
|
|
|
|
| 4 |
import { PathoraViewer } from "./components/viewer/PathoraViewer";
|
| 5 |
|
| 6 |
export function AppRouter() {
|
| 7 |
+
return (
|
| 8 |
+
<BrowserRouter>
|
| 9 |
+
<Routes>
|
| 10 |
+
<Route path="/" element={<PathoraViewer />} />
|
| 11 |
+
<Route path="/app" element={<App />} />
|
| 12 |
+
<Route path="/viewer" element={<PathoraViewer />} />
|
| 13 |
+
</Routes>
|
| 14 |
+
</BrowserRouter>
|
| 15 |
+
);
|
| 16 |
}
|