Skip to content

Commit

Permalink
Merge pull request #16 from stratisproject/master
Browse files Browse the repository at this point in the history
Revert signalR changes
  • Loading branch information
dev0tion authored Dec 30, 2020
2 parents 6603034 + 8a9ef91 commit 1bd5d99
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions StratisCore.UI/src/app/shared/services/signalr-service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import { Log } from '../../wallet/tokens/services/logger.service';

export interface SignalRConnectionInfo {
signalRUri: string;
signalRPort: string;
//signalRPort: string;
}

export interface SignalRMessageHandler {
Expand Down Expand Up @@ -59,7 +59,8 @@ export class SignalRService extends RestApi implements ISignalRService {
}

this.connection = new signalR.HubConnectionBuilder()
.withUrl(`http://${this.globalService.getDaemonIP()}:${con.signalRPort}/${hubName}-hub`, {})
//.withUrl(`http://${this.globalService.getDaemonIP()}:${con.signalRPort}/${hubName}-hub`, {})
.withUrl(`${con.signalRUri}/${hubName}-hub`, {})
.configureLogging(signalR.LogLevel.Information)
.build();

Expand Down

0 comments on commit 1bd5d99

Please sign in to comment.