remove unused code
This commit is contained in:
parent
4f3fd04c5c
commit
3078ae6ba1
7 changed files with 9192 additions and 9300 deletions
|
|
@ -2,7 +2,6 @@ import { rewriteUrl } from './cors.mjs';
|
|||
|
||||
const json = (url, params) => fetchAsync(url, 'json', params);
|
||||
const text = (url, params) => fetchAsync(url, 'text', params);
|
||||
const raw = (url, params) => fetchAsync(url, '', params);
|
||||
const blob = (url, params) => fetchAsync(url, 'blob', params);
|
||||
|
||||
const fetchAsync = async (_url, responseType, _params = {}) => {
|
||||
|
|
@ -96,6 +95,5 @@ const retryDelay = (retryNumber) => {
|
|||
export {
|
||||
json,
|
||||
text,
|
||||
raw,
|
||||
blob,
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue