mirror of
https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
synced 2025-11-17 06:23:44 +08:00
fix invoke in stream.ts, upgrade package
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user