Log remote file urls

This commit is contained in:
Daniel Jönsson 2020-08-10 10:02:17 +02:00
parent d5fa32303a
commit 3a6b3439b5

View file

@ -323,6 +323,8 @@ class FimFic2Epub extends EventEmitter {
return
}
console.log('Remote file URL: ' + url)
fetch(url, 'arraybuffer').then(async (data) => {
r.dest = null
let info = await FileType.fromBuffer(isNode ? data : new Uint8Array(data))