diff --git a/package.json b/package.json index fcf442fd..5b2f59fc 100644 --- a/package.json +++ b/package.json @@ -31,7 +31,7 @@ "filereader-stream": "^1.0.0", "gh-pages-deploy": "^0.4.2", "http-server": "^0.9.0", - "hyperdrive": "^6.2.1", + "hyperdrive": "^6.6.1", "hyperdrive-archive-swarm": "^3.0.1", "hyperdrive-ui": "^2.0.0", "intro.js": "^2.1.0", diff --git a/src/js/app.js b/src/js/app.js index 0b32b789..65c4fec4 100644 --- a/src/js/app.js +++ b/src/js/app.js @@ -49,7 +49,7 @@ if (file) { } function getArchive (key, cb) { - var archive = drive.createArchive(key, {live: true}) + var archive = drive.createArchive(key, {live: true, sparse: true}) var sw = swarm(archive) sw.on('connection', function (peer) { store.dispatch({ type: 'UPDATE_PEERS', peers: sw.connections })