diff --git a/app/components/chat.tsx b/app/components/chat.tsx index 484a27b74..c7f19a3c3 100644 --- a/app/components/chat.tsx +++ b/app/components/chat.tsx @@ -1573,6 +1573,7 @@ function _Chat() { const imagesData: string[] = []; for (let i = 0; i < files.length; i++) { const file = event.target.files[i]; + console.log("file", file); uploadImageRemote(file) .then((dataUrl) => { imagesData.push(dataUrl); diff --git a/app/utils/chat.ts b/app/utils/chat.ts index efc496f2c..ca6ee31d8 100644 --- a/app/utils/chat.ts +++ b/app/utils/chat.ts @@ -138,7 +138,7 @@ export function uploadImage(file: Blob): Promise { }) .then((res) => res.json()) .then((res) => { - // console.log("res", res); + console.log("upload res", res); if (res?.code == 0 && res?.data) { return res?.data; }