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:
parent
1e957a9e5a
commit
a1c8d3d841
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue