Loading src/client.ts +3 −0 Original line number Diff line number Diff line Loading @@ -98,6 +98,9 @@ export class Client { * TODO: remove headers/version */ constructor(protected httpClient: HttpClientInterface, protected url: string, protected version?: string) { // cut trailing slash if needed this.url = this.url.replace(/\/$/, ''); if (typeof version === 'string') { // set header to tell proxy to select the correct backend this.headers = { Loading src/cli.ts +1 −1 File changed.Contains only whitespace changes. Show changes Loading
src/client.ts +3 −0 Original line number Diff line number Diff line Loading @@ -98,6 +98,9 @@ export class Client { * TODO: remove headers/version */ constructor(protected httpClient: HttpClientInterface, protected url: string, protected version?: string) { // cut trailing slash if needed this.url = this.url.replace(/\/$/, ''); if (typeof version === 'string') { // set header to tell proxy to select the correct backend this.headers = { Loading