feat(import/zip): support image with absolute path

pull/2371/head
Elian Doran 2025-06-20 21:59:11 +07:00
parent e6e276a0cf
commit 02a0624e8f
No known key found for this signature in database
1 changed files with 1 additions and 1 deletions

@ -335,7 +335,7 @@ async function importZip(taskContext: TaskContext, fileBuffer: Buffer, importRoo
return `src="${url}"`;
}
if (isUrlAbsolute(url) || url.startsWith("/")) {
if (isUrlAbsolute(url)) {
return match;
}