Forgot we are getting screenshots as JPG.

This commit is contained in:
Simo Kinnunen
2014-05-21 20:12:34 +09:00
parent 7d36f27a31
commit 1db48e9fcb

View File

@@ -32,8 +32,8 @@ module.exports = syrup.serial()
}
else {
resolve(storage.store('image', res, {
filename: util.format('%s.png', options.serial)
, contentType: 'image/png'
filename: util.format('%s.jpg', options.serial)
, contentType: 'image/jpeg'
, knownLength: +res.headers['content-length']
}))
}