|
|
@ -104,9 +104,12 @@ export async function fetch(
|
|
|
|
rid,
|
|
|
|
rid,
|
|
|
|
});
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
const body = await window.__TAURI_INVOKE__<number[]>("plugin:http|fetch_read_body", {
|
|
|
|
const body = await window.__TAURI_INVOKE__<number[]>(
|
|
|
|
|
|
|
|
"plugin:http|fetch_read_body",
|
|
|
|
|
|
|
|
{
|
|
|
|
rid,
|
|
|
|
rid,
|
|
|
|
});
|
|
|
|
},
|
|
|
|
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
|
|
const res = new Response(Uint8Array.from(body), {
|
|
|
|
const res = new Response(Uint8Array.from(body), {
|
|
|
|
headers,
|
|
|
|
headers,
|
|
|
|