fix(web): redirect to /runs instead of /start after login

All three login paths (root redirect, dev token, GitHub OAuth callback)
now send users to /runs on first visit.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Bryan Helmkamp 2026-04-15 06:57:07 -04:00
parent 378073c13a
commit 95ad4b1cfe
No known key found for this signature in database
3 changed files with 3 additions and 3 deletions

View file

@ -20,7 +20,7 @@ export default function AuthLogin({ loaderData }: any) {
try {
await loginDevToken(token);
navigate("/start");
navigate("/runs");
} catch {
setError("Invalid dev token");
}

View file

@ -11,7 +11,7 @@ export async function loader() {
throw error;
}
return redirect("/start");
return redirect("/runs");
}
export default function RedirectHome() {

View file

@ -579,7 +579,7 @@ async fn callback_github(
&session_key,
session_cookie_secure(state.as_ref()),
);
let mut response = Redirect::to("/start").into_response();
let mut response = Redirect::to("/runs").into_response();
append_jar_delta(response.headers_mut(), &jar);
response
}