From af054344363e7d8f62f99283961204d8ccb36127 Mon Sep 17 00:00:00 2001 From: "DESKTOP-I4SRUE6\\NikoYoke" Date: Wed, 13 Nov 2024 19:03:50 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9E=20fix:=20=E4=BF=AE=E5=A4=8Dllo?= =?UTF-8?q?=E6=97=A0=E6=B3=95=E4=B8=8A=E4=BC=A0=E4=BA=91=E7=9B=98=E7=9A=84?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- utils/yunzai-util.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/yunzai-util.js b/utils/yunzai-util.js index b059872..3267c1e 100644 --- a/utils/yunzai-util.js +++ b/utils/yunzai-util.js @@ -84,7 +84,7 @@ export async function getGroupFileUrl(e, count = 10) { }; } } else if (cleanPath.startsWith('file:///')) { - cleanPath.replace('file:///', '') + cleanPath = cleanPath.replace('file:///', '') } return { cleanPath, file_id };