Skip to content

Commit

Permalink
fix: generated image link jpg to jpeg (hexojs#911)
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshinorin authored and tomap committed Mar 13, 2019
1 parent 08e91a2 commit 288e0a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ gulp.task('screenshot:revreplace', ['screenshot:rev'], function() {
var src = img.attr('data-src') || img.attr('data-org');
if (!src) return;

var jpgPath = replaceBackSlash(rename(src, {extname: '.jpg'}));
var jpgPath = replaceBackSlash(rename(src, {extname: '.jpeg'}));
var jpg2xPath = replaceBackSlash(rename(jpgPath, {suffix: '@2x'}));
var srcset = [
jpgPath,
Expand Down

0 comments on commit 288e0a0

Please sign in to comment.