blob: ec730f7045ac8a29d8973fca821425a90f57b73f (
plain)
1
2
3
4
5
6
7
8
9
|
import { type RouteConfig, index, route } from "@react-router/dev/routes";
export default [
index("routes/home.tsx"),
route("/api/posts", "routes/api.posts.tsx"),
route("/api/passkey", "routes/api.passkey.tsx"),
route("/auth/register", "routes/auth.register.tsx"),
route("/auth/logout", "routes/auth.logout.tsx"),
] satisfies RouteConfig;
|