From cba06f7e23417a9aef6c15ae26715385feb225ba Mon Sep 17 00:00:00 2001 From: yyamashita Date: Fri, 19 Jun 2026 19:45:41 +0900 Subject: Add white theme, post delete, and passkey authentication - Rewrite CSS to light/white theme - Add delete button (auth-gated) with confirm dialog - Add passkey register/login/logout routes via @simplewebauthn - Gate compose form and delete behind session authentication - Add credentials table to SQLite schema - Add SESSION_SECRET and WebAuthn env vars to docker-compose Co-Authored-By: Claude Sonnet 4.6 --- app/routes.ts | 3 +++ 1 file changed, 3 insertions(+) (limited to 'app/routes.ts') diff --git a/app/routes.ts b/app/routes.ts index e839849..8ca1209 100644 --- a/app/routes.ts +++ b/app/routes.ts @@ -3,4 +3,7 @@ import { type RouteConfig, index, route } from "@react-router/dev/routes"; export default [ index("routes/home.tsx"), route("/api/posts", "routes/api.posts.tsx"), + route("/auth/register", "routes/auth.register.tsx"), + route("/auth/login", "routes/auth.login.tsx"), + route("/auth/logout", "routes/auth.logout.tsx"), ] satisfies RouteConfig; -- cgit v1.2.3