support bundled installation

This commit is contained in:
James Feng Cao 2023-04-18 16:08:42 +08:00
parent acef3cbd59
commit b21c1074d7
8 changed files with 42 additions and 23 deletions

View file

@ -234,7 +234,7 @@ async function createChat(theChatType) {
do {
try {
let url = URLTrue(magicUrl,'turing/conversation/create');
let res = await fetch(url, {credentials: "include"});
let res = await fetch(url);
let resjson = await res.json();
if (!resjson.result || resjson.result.value != 'Success') {
mes = resjson;