All files / web/src/routes index.tsx

71.42% Statements 5/7
100% Branches 0/0
0% Functions 0/2
71.42% Lines 5/7

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 101x     1x 1x     1x 1x  
import { createFileRoute, redirect } from '@tanstack/react-router';
 
// Always redirect to /login — login page handles the /agents redirect after verifying auth
export const Route = createFileRoute('/')({
  beforeLoad: () => {
    throw redirect({ to: '/login' });
  },
  component: () => null,
});