From 5790c2add5c513c50f8b5310ad36bb3b99c34e2a Mon Sep 17 00:00:00 2001 From: shrpne Date: Tue, 12 Apr 2022 23:25:28 +0300 Subject: [PATCH] fix swap estimation --- assets/axios-prevent-concurrency.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/axios-prevent-concurrency.js b/assets/axios-prevent-concurrency.js index 3d4306d4..376ce896 100644 --- a/assets/axios-prevent-concurrency.js +++ b/assets/axios-prevent-concurrency.js @@ -24,7 +24,7 @@ export default function preventConcurrencyAdapter(adapter) { } //@TODO handle unsorted query params and duplicate slashes (maybe use buildSortedUrl from axios-extensions) - const url = config.baseURL = config.url; + const url = config.baseURL + config.url; // do nothing for sequential duplicates, they will get response from the cache (anyway if 3rd request will come, this 2nd will be canceled with original request, because 2nd will be same as 1st cached) if (activeList[id]?.url === url) { return adapter(config);