mirror of
https://github.com/FossifyOrg/Calendar.git
synced 2026-01-26 08:21:26 -05:00
Update image minimizer
This commit is contained in:
1
.github/workflows/image-minimizer.js
vendored
1
.github/workflows/image-minimizer.js
vendored
@@ -139,7 +139,6 @@ module.exports = async ({github, context}) => {
|
||||
if (shouldModify) {
|
||||
wasMatchModified = true;
|
||||
console.log(`Modifying match '${match}'`);
|
||||
var newBody
|
||||
return `<img alt="${g1}" src="${g2}" width=${Math.min(600, Math.floor(IMG_MAX_HEIGHT_PX * probeAspectRatio))} />`;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user