Skip to content

Commit

Permalink
no webp
Browse files Browse the repository at this point in the history
  • Loading branch information
mmeigs committed Jan 29, 2024
1 parent e567e22 commit b337578
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/DocumentBody.js
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ export const query = graphql`
slug
images {
childImageSharp {
gatsbyImageData(layout: CONSTRAINED, formats: [WEBP], placeholder: NONE)
gatsbyImageData(layout: CONSTRAINED, placeholder: NONE)
}
relativePath
}
Expand Down
4 changes: 3 additions & 1 deletion src/init/DocumentDatabase.js
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,9 @@ class ManifestDocumentDatabase {
}
const result = this.zip.getEntry(`assets/${checksum}`);
if (result) {
return result.getData();
const buffer = result.getData();
console.log('BUFF? ', buffer);
return buffer;
}
return null;
}
Expand Down

0 comments on commit b337578

Please sign in to comment.