Spaces:
Configuration error

README / frontend /src /routes.ts
gauravanu001's picture
upload
2d63f96 verified
Raw History Blame Contribute Delete
641 Bytes
import {
type RouteConfig,
layout,
index,
route,
} from "@react-router/dev/routes";
export default [
layout("routes/_oh/route.tsx", [
index("routes/_oh._index/route.tsx"),
route("settings", "routes/settings.tsx", [
index("routes/account-settings.tsx"),
route("billing", "routes/billing.tsx"),
]),
route("conversations/:conversationId", "routes/_oh.app/route.tsx", [
index("routes/_oh.app._index/route.tsx"),
route("browser", "routes/_oh.app.browser.tsx"),
route("jupyter", "routes/_oh.app.jupyter.tsx"),
route("served", "routes/app.tsx"),
]),
]),
] satisfies RouteConfig;