blob: f4577e5d7c97af6359e3307945db10b9af5ee59f (
plain)
1
2
3
4
5
6
7
8
9
10
|
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/login", "routes/auth.login.tsx"),
route("/auth/logout", "routes/auth.logout.tsx"),
] satisfies RouteConfig;
|