From 200c13b59fd2bada3c425ae34470550f65359e82 Mon Sep 17 00:00:00 2001 From: zhaoying Date: Fri, 27 Mar 2026 15:00:26 +0800 Subject: [PATCH] fix(web): use file type get info --- .../views/UserMemoryDetail/components/PerceptualLastInfo.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/src/views/UserMemoryDetail/components/PerceptualLastInfo.tsx b/web/src/views/UserMemoryDetail/components/PerceptualLastInfo.tsx index d4a3dcd7..69f252e0 100644 --- a/web/src/views/UserMemoryDetail/components/PerceptualLastInfo.tsx +++ b/web/src/views/UserMemoryDetail/components/PerceptualLastInfo.tsx @@ -2,7 +2,7 @@ * @Author: ZhaoYing * @Date: 2026-02-03 18:32:23 * @Last Modified by: ZhaoYing - * @Last Modified time: 2026-03-27 11:13:27 + * @Last Modified time: 2026-03-27 14:57:34 */ import { type FC, useEffect, useState } from 'react' import { useTranslation } from 'react-i18next' @@ -92,7 +92,7 @@ const PerceptualLastInfo: FC = () => { setData(response) setLoading(false) if (response.file_path) { - fetch(response.file_path, { method: 'HEAD' }) + fetch(response.file_path, { method: 'GET' }) .then(r => { const bytes = Number(r.headers.get('content-length')) if (!bytes) return