view love/epi/src/routes/chat/index.tsx @ 198:008ca7780c8a

S3 upload got it to work.
author MrJuneJune <me@mrjunejune.com>
date Sat, 14 Feb 2026 16:18:14 -0800
parents cf9caa4abc3e
children
line wrap: on
line source

import { createFileRoute, redirect } from '@tanstack/react-router';

export const Route = createFileRoute('/chat/')({
  beforeLoad: () => {
    throw redirect({
      to: '/chat/new',
      replace: true,
    });
  },
});