aboutsummaryrefslogtreecommitdiff
path: root/frontend/src/app/app.component.ts
diff options
context:
space:
mode:
authorOgnjen Cirkovic <ciraboxkg@gmail.com>2022-04-30 20:04:42 +0200
committerOgnjen Cirkovic <ciraboxkg@gmail.com>2022-04-30 20:04:42 +0200
commit45c519d53fee1124c2882c7b353cd930fd311f9e (patch)
treeaa0221d1a0e609a3b070d1231d094148a36744ed /frontend/src/app/app.component.ts
parent0f4941df7a7655f95ecd9934ddb21484a1168e32 (diff)
Stranica se refreshuje po dodeli tokena Guesta ili Usera da bi se refreshovala komunikacija preko webSocketa. Potrebno izmeniti u buducnosti.
Diffstat (limited to 'frontend/src/app/app.component.ts')
-rw-r--r--frontend/src/app/app.component.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/frontend/src/app/app.component.ts b/frontend/src/app/app.component.ts
index dfe4febc..e301b46f 100644
--- a/frontend/src/app/app.component.ts
+++ b/frontend/src/app/app.component.ts
@@ -43,7 +43,7 @@ export class AppComponent implements OnInit, AfterViewInit {
if(!this.authService.alreadyGuest())
this.authService.addGuestToken();
}
- //this.signalRService.startConnection();
+ this.signalRService.startConnection();
//this.startHttpRequest();
}
}