From 11a145924f645715c6bb88627cc778a42bd6bfef Mon Sep 17 00:00:00 2001 From: Vinlic Date: Fri, 5 Apr 2024 01:16:05 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8A=A0=E5=A4=A7=E6=96=87=E4=BB=B6=E4=B8=8A?= =?UTF-8?q?=E4=BC=A0=E8=B6=85=E6=97=B6=E6=97=B6=E9=97=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/controllers/chat.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/api/controllers/chat.ts b/src/api/controllers/chat.ts index 5f75755..c13f2fb 100644 --- a/src/api/controllers/chat.ts +++ b/src/api/controllers/chat.ts @@ -516,8 +516,8 @@ async function uploadFile(fileUrl: string, refreshToken: string) { data: fileData, // 100M限制 maxBodyLength: FILE_MAX_SIZE, - // 60秒超时 - timeout: 60000, + // 120秒超时 + timeout: 120000, headers: { 'Content-Type': mimeType, Authorization: `Bearer ${token}`,