fix: #351
This commit is contained in:
1 parent
919705966c
commit
0a18bae3b5
8 files changed
+16
-15
No files matched your search
+1
-1
@@ -216,7 +216,7 @@ export async function checkUriType(Uri: string) {
|
||||
return { Uri: filePath, Type: FileUriType.Local };
|
||||
}
|
||||
if (uri.startsWith('data:')) {
|
||||
let data = uri.split(',')[1];
|
||||
const data = uri.split(',')[1];
|
||||
if (data) return { Uri: data, Type: FileUriType.Base64 };
|
||||
}
|
||||
}, Uri);
|
||||
|
||||
Reference in new issue
Block a user