Skip to content

Commit

Permalink
Fixed extension
Browse files Browse the repository at this point in the history
  • Loading branch information
Chiedo committed Jul 15, 2017
1 parent 3d0b206 commit 8a1c8c8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ module.exports = ({ type, pathPrefix, getNodeAndSavePathDependency }) => {
async resolve(image, fieldArgs, context) {
const details = getNodeAndSavePathDependency(image.parent, context.path);
const dimensions = sizeOf(details.absolutePath);
const imageName = `${image.internal.contentDigest}.${details.ext}`;
const imageName = `${image.internal.contentDigest}${details.ext}`;
const publicPath = path.join(
process.cwd(),
`public`,
Expand Down

0 comments on commit 8a1c8c8

Please sign in to comment.