Add TopLiba (#1003)
* test * cleanup deleted unused `fetchFile` import replaced fetch with `fetchApi` * eslint * fix * fix multi * Hmm, what to do next. * test URLSearchParams * fix
This commit is contained in:
+1
-1
@@ -14,7 +14,7 @@ import 'protobufjs';
|
||||
|
||||
const { fetch: originalFetch } = window;
|
||||
window.fetch = async (...args) => {
|
||||
let [resource, config] = args;
|
||||
const [resource, config] = args;
|
||||
if (resource.toString().includes('localhost')) {
|
||||
const response = await originalFetch(resource, config);
|
||||
return response;
|
||||
|
||||
Reference in New Issue
Block a user