mirror of
https://github.com/status-im/embark-area-51.git
synced 2025-01-24 22:19:37 +00:00
Add ipns resolve
This commit is contained in:
parent
a273a988f6
commit
65ca4e0e3d
@ -113,6 +113,7 @@ class IPFS {
|
||||
let code = "";
|
||||
code += "\n" + fs.readFileSync(utils.joinPath(__dirname, 'embarkjs', 'storage.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