typo, fix #222
This commit is contained in:
@@ -217,7 +217,7 @@ const settingsController = {
|
|||||||
}
|
}
|
||||||
|
|
||||||
const uploadedPath = path.join(req.file.destination, req.file.filename)
|
const uploadedPath = path.join(req.file.destination, req.file.filename)
|
||||||
const baseImgPath = path.resolve(config.upload_path, 'fallbackImage.png')
|
const baseImgPath = path.resolve(config.upload_path, 'headerImage.png')
|
||||||
|
|
||||||
// convert and resize to png
|
// convert and resize to png
|
||||||
return sharp(uploadedPath)
|
return sharp(uploadedPath)
|
||||||
|
|||||||
Reference in New Issue
Block a user