summaryrefslogtreecommitdiff
path: root/app/routes.ts
diff options
context:
space:
mode:
Diffstat (limited to 'app/routes.ts')
-rw-r--r--app/routes.ts8
1 files changed, 8 insertions, 0 deletions
diff --git a/app/routes.ts b/app/routes.ts
new file mode 100644
index 0000000..24d9c49
--- /dev/null
+++ b/app/routes.ts
@@ -0,0 +1,8 @@
+import { type RouteConfig, index, route } from "@react-router/dev/routes";
+
+export default [
+ index("routes/home.tsx"),
+ route("/api/passkey", "routes/api.passkey.tsx"),
+ route("/auth/register", "routes/auth.register.tsx"),
+ route("/auth/logout", "routes/auth.logout.tsx"),
+] satisfies RouteConfig;