This commit is contained in:
04041b
2025-01-12 15:08:22 +08:00
committed by GitHub
98 changed files with 27275 additions and 1861 deletions

View File

@@ -74,7 +74,7 @@ export function fetch(url: string, options?: RequestInit): Promise<Response> {
for (const item of new Headers(_headers || {})) {
headers[item[0]] = item[1];
}
return window.__TAURI__
return window.__TAURI__.core
.invoke("stream_fetch", {
method: method.toUpperCase(),
url,