mirror of
https://github.com/Yidadaa/ChatGPT-Next-Web.git
synced 2025-09-29 00:09:28 +08:00
fix: onfinish responseRes
This commit is contained in:
@@ -19,7 +19,7 @@ type StreamResponse = {
|
||||
headers: Record<string, string>;
|
||||
};
|
||||
|
||||
export function fetch(url: string, options?: RequestInit): Promise<any> {
|
||||
export function fetch(url: string, options?: RequestInit): Promise<Response> {
|
||||
if (window.__TAURI__) {
|
||||
const {
|
||||
signal,
|
||||
|
Reference in New Issue
Block a user