Avoid random access in http sources

Changelog-entry: Avoid random access in http sources
Change-type: patch
This commit is contained in:
Alexis Svinartchouk 2020-06-04 19:10:40 +02:00
parent f983d88e52
commit 29e2e9c657

View File

@ -246,7 +246,7 @@ ipc.connectTo(IPC_SERVER_ID, () => {
path: options.imagePath, path: options.imagePath,
}); });
} else { } else {
source = new Http({ url: options.imagePath }); source = new Http({ url: options.imagePath, avoidRandomAccess: true });
} }
try { try {
const results = await writeAndValidate({ const results = await writeAndValidate({