Spaces:
Sleeping
Sleeping
Download frontend/src/AppRouter.tsx from ManalifeAI/Pathora: direct link, hf CLI and curl.
- Browser
- Download file 424 Bytes
-
https://huggingface.co/spaces/ManalifeAI/Pathora/resolve/refs%2Fpr%2F1/frontend/src/AppRouter.tsx
- Command line
-
hf download hf://spaces/ManalifeAI/Pathora@refs/pr/1/frontend/src/AppRouter.tsx
-
curl -L -o AppRouter.tsx https://huggingface.co/spaces/ManalifeAI/Pathora/resolve/refs%2Fpr%2F1/frontend/src/AppRouter.tsx
424 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={<App />} /> | |
| <Route path="/viewer" element={<PathoraViewer />} /> | |
| </Routes> | |
| </BrowserRouter>; | |
| } |