diff --git a/src/components/DocumentBody.js b/src/components/DocumentBody.js index 22a6cc8d0..8b5073095 100644 --- a/src/components/DocumentBody.js +++ b/src/components/DocumentBody.js @@ -216,7 +216,7 @@ export const query = graphql` slug images { childImageSharp { - gatsbyImageData(layout: CONSTRAINED, formats: [WEBP], placeholder: NONE) + gatsbyImageData(layout: CONSTRAINED, placeholder: NONE) } relativePath } diff --git a/src/init/DocumentDatabase.js b/src/init/DocumentDatabase.js index f6137f3db..45b1d6f6c 100644 --- a/src/init/DocumentDatabase.js +++ b/src/init/DocumentDatabase.js @@ -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; }