This commit is contained in:
Raktima
2026-05-22 21:03:28 +05:30
committed by GitHub
parent b9a309fa36
commit 1e228c86c3
92 changed files with 8705 additions and 5397 deletions
@@ -61,7 +61,7 @@ async function deleteLocalFile(fileUrl) {
try {
const url = new URL(fileUrl);
const filePath = decodeURIComponent(url.pathname);
if (!filePath.includes('files')) return;
if (!filePath.includes('/files/')) return;
const localPath = url?.pathname?.split(`/files/${serverAppId}/`)?.pop();