From 03a901a06967d32dc0b7441ec38f292118dddb35 Mon Sep 17 00:00:00 2001 From: kwaroran <116663078+kwaroran@users.noreply.github.com> Date: Tue, 4 Jul 2023 02:19:52 +0900 Subject: [PATCH] [fix] revert globalapi proxy --- src/ts/storage/globalApi.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ts/storage/globalApi.ts b/src/ts/storage/globalApi.ts index ebd28a96..b4b48d5c 100644 --- a/src/ts/storage/globalApi.ts +++ b/src/ts/storage/globalApi.ts @@ -624,7 +624,7 @@ export async function globalFetch(url:string, arg:{plainFetchForce?:boolean,body } } else{ - const furl = (((!isNodeServer) && (!isTauri)) ? hubURL : '') + `/proxy?url=${encodeURIComponent(url)}` + const furl = `/proxy?url=${encodeURIComponent(url)}` const da = await fetch(furl, { body: body,