Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
LucHeart committed Sep 23, 2024
1 parent 87b0df3 commit fd578d5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/js/UserHub.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@ export default class ws {
constructor() {

this.connection = new signalR.HubConnectionBuilder()
.withUrl(config.apiUrl + "1/hubs/user", options => {
options.transport = signalR.HttpTransportType.WebSockets;
options.skipNegotiation = true;
.withUrl(config.apiUrl + "1/hubs/user", {
transport: signalR.HttpTransportType.WebSockets,
skipNegotiation: true
})
.configureLogging(signalR.LogLevel.Information)
.withAutomaticReconnect([0, 1000, 2000, 5000, 10000, 10000, 15000, 30000, 60000])
Expand Down

0 comments on commit fd578d5

Please sign in to comment.