incognito mode switch

This commit is contained in:
Archeb
2024-07-29 21:30:36 +08:00
parent 2a0b9f6e59
commit 4531b238f0
3 changed files with 13 additions and 7 deletions
+2 -2
View File
@@ -421,13 +421,13 @@ class YouProvider {
(event) => {
window[callbackName]("done", "");
evtSource.close();
/*fetch("https://you.com/api/chat/deleteChat", {//因为已经开启隐身模式了,所以就没必要删除了
fetch("https://you.com/api/chat/deleteChat", {
headers: {
"content-type": "application/json",
},
body: JSON.stringify({ chatId: traceId }),
method: "DELETE",
});*/
});
},
false
);