| 1 | import { redirect } from "react-router"; |
| 2 | import type { Route } from "./+types/pull-commits"; |
| 3 | |
| 4 | export function loader({ request }: Route.LoaderArgs) { |
| 5 | return redirect(new URL(request.url).pathname.replace(/\/commits$/, "/reasoning"), 301); |
| 6 | } |