POSTs email + password to /auth/email/login, stores JWT, redirects to /account (route to be added). Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
9 lines
266 B
TypeScript
9 lines
266 B
TypeScript
import { type RouteConfig, index, route } from '@react-router/dev/routes';
|
|
|
|
export default [
|
|
index('routes/_index.tsx'),
|
|
route('signup', 'routes/signup.tsx'),
|
|
route('verify', 'routes/verify.tsx'),
|
|
route('login', 'routes/login.tsx'),
|
|
] satisfies RouteConfig;
|