diff --git a/popup/src/api/HttpClient.ts b/popup/src/api/HttpClient.ts index 09a47ed..d7edf4d 100644 --- a/popup/src/api/HttpClient.ts +++ b/popup/src/api/HttpClient.ts @@ -41,6 +41,7 @@ export class HttpClient { constructor (baseUrl: string) { this.baseUrl = baseUrl + this.syncBaseUrlWithStand() } async syncBaseUrlWithStand () { @@ -52,8 +53,6 @@ export class HttpClient { } send (schema: SchemaInterface, data: any | null = null): Promise { - this.syncBaseUrlWithStand() - let url = schema.url const preparedData = data for (const key in data) {