mirror of
https://github.com/DeviceFarmer/stf.git
synced 2026-04-18 16:13:24 +02:00
Forgot we are getting screenshots as JPG.
This commit is contained in:
@@ -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']
|
||||
}))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user