Skip to content

ActivityPub-federated video streaming platform using P2P directly in your web browser

Client: Redirect user to home page after logout

Chocobozzz66af9ee16d5b
diff --git a/client/src/app/app.component.ts b/client/src/app/app.component.ts
index b7a3d7c58c..5764f24cad 100644
--- a/client/src/app/app.component.ts
+++ b/client/src/app/app.component.ts
@@ -47,6 +47,8 @@ export class AppComponent {
logout() {
this.authService.logout();
+ // Redirect to home page
+ this.router.navigate(['/videos/list']);
}
makeFriends() {