mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-07-27 01:52:28 +08:00
feat(import/zip): support image with absolute path
This commit is contained in:
parent
e6e276a0cf
commit
02a0624e8f
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user