summaryrefslogtreecommitdiff
path: root/app/routes.ts
diff options
context:
space:
mode:
authoryyamashita <yyamashita@hetzner.yyamashita.com>2026-08-22 19:21:12 +0900
committeryyamashita <yyamashita@hetzner.yyamashita.com>2026-08-22 19:21:12 +0900
commit7c80f5ce7e44b95d16e19de40de0f8079377c6b9 (patch)
treead189b750361af8c7cb040b56f42df5d4e5a89ee /app/routes.ts
Initial commit: todo app with passkey auth and PWA supportHEADmaster
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
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;