mirror of
https://github.com/embarklabs/embark.git
synced 2025-01-24 20:51:55 +00:00
Add ipns resolve
This commit is contained in:
parent
3a532a05e8
commit
6a3e8081a5
@ -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);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user