mirror of
https://github.com/status-im/embark-area-51.git
synced 2025-01-23 13:48:49 +00:00
Add ipns resolve
This commit is contained in:
parent
a7af853993
commit
9e4b003297
@ -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);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user