Skip to content

Commit

Permalink
Merge pull request #992 from AppFlowy-IO/fix/admin-frontend-open-app
Browse files Browse the repository at this point in the history
fix: use htmx redirect instead
  • Loading branch information
speed2exe authored Nov 14, 2024
2 parents e9c374b + bd82873 commit a4ea4ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion admin_frontend/src/web_api.rs
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ async fn open_app_handler(
session.token.refresh_token,
session.token.token_type,
);
Ok(Redirect::to(&app_sign_in_url).into_response())
Ok(htmx_redirect(&app_sign_in_url).into_response())
}

/// Delete the user account and all associated data.
Expand Down

0 comments on commit a4ea4ee

Please sign in to comment.