From 874749df46cc291ca61f2f98092ccabfdeffbf16 Mon Sep 17 00:00:00 2001 From: yyamashita Date: Sat, 26 Sep 2026 00:19:53 +0900 Subject: Add passkey login and favorite search terms MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Single-user auth: any registered passkey logs in as the owner. First registration needs a one-time token that the app writes to data/registration-token when no passkey exists yet; once logged in, more passkeys can be added without a token. Logged in, /favorites manages a list of terms (e.g. band names). Events whose title or artist contains a term (NFKC + case-insensitive) get a ★, and the event list gains an "お気に入りのみ" filter. Co-Authored-By: Claude Opus 5.5 --- 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 21a950d..d45106c 100644 --- a/app/routes.ts +++ b/app/routes.ts @@ -8,6 +8,8 @@ export default [ route(":id", "routes/events.$id.tsx"), ]), route("venues", "routes/venues.tsx"), + route("favorites", "routes/favorites.tsx"), + route("login", "routes/login.tsx"), ...prefix("api", [ route("scrape", "routes/api.scrape.ts"), route("scrape-status", "routes/api.scrape-status.ts"), @@ -17,5 +19,6 @@ export default [ route("venues", "routes/api.venues.ts"), route("openapi.json", "routes/api.openapi.ts"), route("image", "routes/api.image.ts"), + route("auth/:step", "routes/api.auth.$step.ts"), ]), ] satisfies RouteConfig; -- cgit v1.3