From a1c8d3d8416b9e05f550e58a738f48459d4468be Mon Sep 17 00:00:00 2001 From: David Fowler Date: Tue, 24 Jan 2017 21:12:53 +0000 Subject: [PATCH] Fix the TS client to respect the new endpoint - Seems like the ts client wasn't updated to use /negotiate instead of /getid --- src/Microsoft.AspNetCore.SignalR.Client.TS/Connection.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Microsoft.AspNetCore.SignalR.Client.TS/Connection.ts b/src/Microsoft.AspNetCore.SignalR.Client.TS/Connection.ts index 3e9f0f4a89..39c1139304 100644 --- a/src/Microsoft.AspNetCore.SignalR.Client.TS/Connection.ts +++ b/src/Microsoft.AspNetCore.SignalR.Client.TS/Connection.ts @@ -36,7 +36,7 @@ export class Connection { this.transport.onError = e => this.stopConnection(e); try { - this.connectionId = await this.httpClient.get(`${this.url}/getid?${this.queryString}`); + this.connectionId = await this.httpClient.get(`${this.url}/negotiate?${this.queryString}`); this.queryString = `id=${this.connectionId}`; await this.transport.connect(this.url, this.queryString); this.connectionState = ConnectionState.Connected;