revert Remove debug line
This commit is contained in:
bingus_violet 2024-06-10 19:30:56 -05:00
parent aef8ce0938
commit 5164061f22

View file

@ -210,6 +210,7 @@ async function downloadFromActivity(activity) {
var fp = path.join(imgCache, fn)
if (!cachedImages.imgs[url] || !fs.existsSync(path.join(imgCache, cachedImages.imgs[url].file))) {
console.log(fn)
const response = await (await fetch(thumborURL + imgRes + thumborArgs + url)).arrayBuffer()
fs.writeFileSync(fp, Buffer.from(response))