Mercurial
view love/epi/src/routes/index.tsx @ 169:295ac2e5ec00
[MrJuneJune] Created separate target for generating html from md.
| author | MrJuneJune <me@mrjunejune.com> |
|---|---|
| date | Mon, 19 Jan 2026 17:33:18 -0800 |
| parents | cf9caa4abc3e |
| children |
line wrap: on
line source
import { createFileRoute, redirect } from '@tanstack/react-router'; export const Route = createFileRoute('/')({ beforeLoad: () => { // This runs on navigation to / throw redirect({ to: '/chat/new', replace: true, }); }, });