ipfs: enable custom preloading

update to wabac.js 2.4.2
This commit is contained in:
Ilya Kreymer
2020-12-15 23:57:56 -08:00
parent 8ff6d65366
commit 69246e75df
5 changed files with 23 additions and 22 deletions
+1
View File
@@ -11,5 +11,6 @@ staticData.set(prefix + "index.html", {type: "text/html", content: INDEX_HTML});
//staticData.set(prefix + "ui.js", {type: "application/javascript", content: UI_JS});
//const { SWReplay } = require('@webrecorder/wabac/src/swmain');
self.ipfsCustomPreload = true;
self.sw = new SWReplay(staticData);