receive message live

This commit is contained in:
Peter Maquiran
2024-07-16 14:15:58 +01:00
parent 4a1db73402
commit 0312df88e8
12 changed files with 157 additions and 28 deletions
@@ -43,7 +43,7 @@ export class SignalRService {
private async establishConnection() {
const connection = new SignalRConnection({url:'https://gdapi-dev.dyndns.info/stage/chathub'})
const connection = new SignalRConnection({url:'https://gdapi-dev.dyndns.info/stage/api/v2/chathub'})
const attempConnection = await connection.establishConnection()
if(attempConnection.isOk()) {
+1 -1
View File
@@ -20,7 +20,7 @@
const connection = new signalR.HubConnectionBuilder()
.withAutomaticReconnect()
.withUrl("https://gdapi-dev.dyndns.info/stage/chathub")
.withUrl("https://gdapi-dev.dyndns.info/stage/api/v2/chathub")
.build();