From 7f857284bb0457b270174445b150b97d701177ae Mon Sep 17 00:00:00 2001 From: lloydzhou Date: Wed, 25 Sep 2024 20:03:18 +0800 Subject: [PATCH] update --- app/utils.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/utils.ts b/app/utils.ts index 6483bec91..729428d63 100644 --- a/app/utils.ts +++ b/app/utils.ts @@ -294,7 +294,7 @@ export function adapter(config: Record) { ? `${path}?${new URLSearchParams(params as any).toString()}` : path; if (window.__TAURI__) { - return tauriFetch(fetchUrl, rest) + return tauriFetch(fetchUrl as string, rest) .then((res) => res.text()) .then((data: any) => ({ data })); }