Merge pull request #992 from AppFlowy-IO/fix/admin-frontend-open-app

fix: use htmx redirect instead
This commit is contained in:
Zack 2024-11-14 13:56:42 +08:00 committed by GitHub
commit a4ea4eeb31
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -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.