diff --git a/src/init/DocumentDatabase.js b/src/init/DocumentDatabase.js index f5baa0b5c..083129186 100644 --- a/src/init/DocumentDatabase.js +++ b/src/init/DocumentDatabase.js @@ -88,7 +88,7 @@ class ManifestDocumentDatabase { async getAsset(checksum) { if (!this.zip) { const asset = fs.readFileSync(`assets/${checksum}`); - return decodeURIComponent(escape(window.atob(asset))); + return Buffer(JSON.parse(asset)); } const result = this.zip.getEntry(`assets/${checksum}`); if (result) {