Add ipns resolve

This commit is contained in:
Anthony Laibe 2018-07-26 14:03:35 +01:00 committed by Iuri Matias
parent a7af853993
commit 9e4b003297

View File

@ -97,6 +97,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);
}