From e3b543774e0e1cb6d24d89cdbfb99d69d8287b4f Mon Sep 17 00:00:00 2001 From: Xhofe Date: Sat, 5 Mar 2022 15:08:23 +0800 Subject: [PATCH] fix: ipa page error (Xhofe/alist#682) --- src/pages/list/preview/ipa.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/list/preview/ipa.tsx b/src/pages/list/preview/ipa.tsx index 95c5139..51703d5 100644 --- a/src/pages/list/preview/ipa.tsx +++ b/src/pages/list/preview/ipa.tsx @@ -20,7 +20,7 @@ export const exts = ["ipa"]; const Ipa = ({ file }: FileProps) => { const { getSetting } = useContext(IContext); const ext = file.name.split(".").pop() || ""; - const fileUrl = useFileUrl(false, false); + const fileUrl = useFileUrl(); const { t } = useTranslation(); const url = fileUrl(); const [installing, setInstalling] = useState(false);