mirror of
https://framagit.org/les/gancio.git
synced 2025-01-31 16:42:22 +01:00
minor
This commit is contained in:
parent
139bde40bd
commit
ca5cb474ba
1 changed files with 2 additions and 2 deletions
|
@ -75,8 +75,8 @@ module.exports = {
|
|||
const outStream = fs.createWriteStream(finalPath)
|
||||
const thumbStream = fs.createWriteStream(thumbPath)
|
||||
|
||||
const resizer = sharp().resize(1200).jpg({ quality: 95 })
|
||||
const thumbnailer = sharp().resize(400).jpg({ quality: 90 })
|
||||
const resizer = sharp().resize(1200).jpeg({ quality: 95 })
|
||||
const thumbnailer = sharp().resize(400).jpeg({ quality: 90 })
|
||||
|
||||
const response = await axios({ method: 'GET', url, responseType: 'stream' })
|
||||
|
||||
|
|
Loading…
Reference in a new issue