mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-19 04:57:52 +00:00
receive message live
This commit is contained in:
@@ -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()) {
|
||||
|
||||
@@ -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();
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user