Skip to content
This repository was archived by the owner on Jun 24, 2025. It is now read-only.

Commit 02a0624

Browse files
committed
feat(import/zip): support image with absolute path
1 parent e6e276a commit 02a0624

File tree

1 file changed

+1
-1
lines changed
  • apps/server/src/services/import

1 file changed

+1
-1
lines changed

apps/server/src/services/import/zip.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -335,7 +335,7 @@ async function importZip(taskContext: TaskContext, fileBuffer: Buffer, importRoo
335335
return `src="${url}"`;
336336
}
337337

338-
if (isUrlAbsolute(url) || url.startsWith("/")) {
338+
if (isUrlAbsolute(url)) {
339339
return match;
340340
}
341341

0 commit comments

Comments
 (0)