mirror of
https://github.com/Yidadaa/ChatGPT-Next-Web.git
synced 2025-08-09 01:08:41 +08:00
hotfix for run plugin call post api
This commit is contained in:
@@ -295,7 +295,7 @@ export function fetch(
|
|||||||
if (window.__TAURI__) {
|
if (window.__TAURI__) {
|
||||||
return tauriStreamFetch(url, {
|
return tauriStreamFetch(url, {
|
||||||
...options,
|
...options,
|
||||||
body: options?.body || options?.data,
|
body: (options?.body || options?.data) as any,
|
||||||
});
|
});
|
||||||
// const payload = options?.body || options?.data;
|
// const payload = options?.body || options?.data;
|
||||||
// return tauriFetch(url, {
|
// return tauriFetch(url, {
|
||||||
|
Reference in New Issue
Block a user