diff --git a/lib/modules/ipfs/index.js b/lib/modules/ipfs/index.js index f4a5fcc1..02174636 100644 --- a/lib/modules/ipfs/index.js +++ b/lib/modules/ipfs/index.js @@ -99,6 +99,7 @@ class IPFS { let code = ""; code += "\n" + fs.readFileSync(utils.joinPath(__dirname, 'embarkjs.js')).toString(); code += "\nEmbarkJS.Storage.registerProvider('ipfs', __embarkIPFS);"; + code += "\nEmbarkJS.Names.registerProvider('ipns', __embarkIPFS);"; this.embark.addCodeToEmbarkJS(code); }