mirror of
https://github.com/bitwarden/browser
synced 2025-12-13 06:43:35 +00:00
skipNegotiation for websockets
This commit is contained in:
@@ -55,6 +55,8 @@ export class NotificationsService implements NotificationsServiceAbstraction {
|
||||
this.signalrConnection = new signalR.HubConnectionBuilder()
|
||||
.withUrl(this.url + '/hub', {
|
||||
accessTokenFactory: () => this.apiService.getActiveBearerToken(),
|
||||
skipNegotiation: true,
|
||||
transport: signalR.HttpTransportType.WebSockets,
|
||||
})
|
||||
.withHubProtocol(new signalRMsgPack.MessagePackHubProtocol())
|
||||
// .configureLogging(signalR.LogLevel.Trace)
|
||||
|
||||
Reference in New Issue
Block a user