txt: more robust TXT parsing (#1706)

This commit is contained in:
Huang Xin
2025-07-30 02:06:55 +08:00
committed by GitHub
parent 63ed763499
commit c581f8ab47
3 changed files with 54 additions and 28 deletions
@@ -51,6 +51,7 @@ const indexedDBFileSystem: FileSystem = {
const content = await this.readFile(path, base, 'binary');
return URL.createObjectURL(new Blob([content]));
} catch {
console.warn(`Failed to get Blob URL for path: ${path} in base: ${base}`);
return path;
}
},