Skip to content
Snippets Groups Projects
Commit 8a85f14c authored by Etienne LOUPIAS's avatar Etienne LOUPIAS
Browse files

comment

parent 713d26e0
No related branches found
No related tags found
1 merge request!995refactor(user): store jwt in cookie
......@@ -42,7 +42,7 @@ export class NotificationsComponent implements OnInit, OnDestroy {
}, 60000);
});
// TEST SSE 2
// Get SSE (Server-Side Events) stream for notifications
this.notificationsService.getStreamNotifications();
this.notificationsService.notifications$.subscribe((notifications) => {
this.notifications = notifications;
......
......@@ -35,7 +35,7 @@ export class NotificationsService {
}),
);
}
// TEST SSE 2
private eventSource: EventSource | null = null;
public getStreamNotifications(): void {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment