Spaces:
Sleeping
Sleeping
Download frontend/src/AppRouter.tsx from ManalifeAI/Pathora: direct link, hf CLI and curl.
- Browser
- Download file 487 Bytes
-
https://huggingface.co/spaces/ManalifeAI/Pathora/resolve/refs%2Fpr%2F5/frontend/src/AppRouter.tsx
- Command line
-
hf download hf://spaces/ManalifeAI/Pathora@refs/pr/5/frontend/src/AppRouter.tsx
-
curl -L -o AppRouter.tsx https://huggingface.co/spaces/ManalifeAI/Pathora/resolve/refs%2Fpr%2F5/frontend/src/AppRouter.tsx
487 Bytes
| import React from "react"; | |
| import { BrowserRouter, Routes, Route } from "react-router-dom"; | |
| import { App } from "./App"; | |
| import { PathoraViewer } from "./components/viewer/PathoraViewer"; | |
| export function AppRouter() { | |
| return ( | |
| <BrowserRouter> | |
| <Routes> | |
| <Route path="/" element={<PathoraViewer />} /> | |
| <Route path="/app" element={<App />} /> | |
| <Route path="/viewer" element={<PathoraViewer />} /> | |
| </Routes> | |
| </BrowserRouter> | |
| ); | |
| } |