mirror of
https://github.com/netbymatt/ws4kp.git
synced 2026-04-17 00:59:29 -07:00
remove unused code
This commit is contained in:
@@ -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,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user