mirror of
https://github.com/fabro-sh/fabro.git
synced 2026-10-10 03:30:59 +00:00
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:
parent
378073c13a
commit
95ad4b1cfe
3 changed files with 3 additions and 3 deletions
|
|
@ -20,7 +20,7 @@ export default function AuthLogin({ loaderData }: any) {
|
|||
|
||||
try {
|
||||
await loginDevToken(token);
|
||||
navigate("/start");
|
||||
navigate("/runs");
|
||||
} catch {
|
||||
setError("Invalid dev token");
|
||||
}
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@ export async function loader() {
|
|||
throw error;
|
||||
}
|
||||
|
||||
return redirect("/start");
|
||||
return redirect("/runs");
|
||||
}
|
||||
|
||||
export default function RedirectHome() {
|
||||
|
|
|
|||
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue