Update provider.mjs 启用隐身模式

This commit is contained in:
xieincz
2024-07-17 21:55:15 +08:00
committed by 蚊子
parent e306191c67
commit b61bed87f1
+2 -2
View File
@@ -413,13 +413,13 @@ class YouProvider {
(event) => { (event) => {
window[callbackName]("done", ""); window[callbackName]("done", "");
evtSource.close(); evtSource.close();
fetch("https://you.com/api/chat/deleteChat", { /*fetch("https://you.com/api/chat/deleteChat", {//因为已经开启隐身模式了,所以就没必要删除了
headers: { headers: {
"content-type": "application/json", "content-type": "application/json",
}, },
body: JSON.stringify({ chatId: traceId }), body: JSON.stringify({ chatId: traceId }),
method: "DELETE", method: "DELETE",
}); });*/
}, },
false false
); );