Fix the TS client to respect the new endpoint

- Seems like the ts client wasn't updated to use /negotiate instead
of /getid
This commit is contained in:
David Fowler 2017-01-24 21:12:53 +00:00
parent 1e957a9e5a
commit a1c8d3d841
1 changed files with 1 additions and 1 deletions

View File

@ -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;